dsh_run_task
Dispatch autonomous coding tasks to a headless AI worker that edits files, executes bash commands, and returns structured results without consuming front-end tokens.
Instructions
Dispatch an autonomous coding task to DeepSeek Harness in headless mode using the configured local/free model. The worker operates directly on the specified repository, reasons autonomously, creates/edits files, executes bash commands, tracks git diffs, and returns structured execution results with zero front-end token burn.
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": {
"cwd": "<cwd>",
"task": "<task>"
},
"name": "dsh_run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the repository/directory the worker should operate in. | |
| task | Yes | Clear, explicit instructions for the task: files to edit/create, requirements, constraints, and test commands. | |
| verbose | No | Whether to include full raw stdout/stderr in the response (default: false). | |
| timeoutMs | No | Max execution time in milliseconds (default: 1800000 = 30 minutes). |