MCPcopy
hub / github.com/coder/mux / createTaskApplyGitPatchTool

Function createTaskApplyGitPatchTool

src/node/services/tools/task_apply_git_patch.ts:1866–1874  ·  view source on GitHub ↗
(config: ToolConfiguration)

Source from the content-addressed store, hash-verified

1864}
1865
1866export const createTaskApplyGitPatchTool: ToolFactory = (config: ToolConfiguration) => {
1867 return tool({
1868 description: TOOL_DEFINITIONS.task_apply_git_patch.description,
1869 inputSchema: TOOL_DEFINITIONS.task_apply_git_patch.schema,
1870 execute: async (args, { abortSignal }): Promise<unknown> => {
1871 return await applyTaskGitPatchArtifact(config, args, { abortSignal });
1872 },
1873 });
1874};

Callers 2

getToolsForModelFunction · 0.90

Calls 2

toolFunction · 0.50

Tested by

no test coverage detected