Fix / modify code via DeepSeek Harness
dsh_fixDelegate code changes to a local DeepSeek Harness agent to fix bugs, refactor, migrate, or implement a specified task; it analyzes, edits, runs verification, and reports modified files.
Instructions
Modify code on the local DeepSeek Harness agent: fix bugs, refactor, migrate, or implement a well-specified change. The agent analyzes first, applies the change, runs the verification command from the task (if any), and lists every file it modified. Use this when the workspace must change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "dsh_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional absolute workspace path. Usually omit this when running from Claude Code. | |
| task | Yes | A self-contained task to delegate to DeepSeek Harness. | |
| timeoutMs | No | Per-call timeout in milliseconds; overrides DSH_MCP_TIMEOUT_MS for this call. Omit to use the configured default (no timeout by default). | |
| trackChanges | No | Snapshot the workspace before and after the delegation and report which files changed. Defaults to true. |