Delegate task to DeepSeek Harness
delegate_to_dshDelegates independent coding, analysis, debugging, or research subtasks to a local DeepSeek Harness agent that runs autonomously in the current workspace and returns its final result.
Instructions
Delegate an independent coding, analysis, debugging, research, or repository task to a local DeepSeek Harness agent.
The delegated DSH agent runs autonomously inside the current Claude Code project workspace and returns its final result when complete.
Use this tool for self-contained subtasks that can be executed independently. The delegated agent may inspect files, run commands, and modify files according to the task instructions.
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": "delegate_to_dsh"
}
}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. |