Start a DSH coding task
dsh_start_taskStarts an asynchronous headless DSH coding task in a specified absolute workspace, read-only by default; enable workspace writes only with a local write grant.
Instructions
Start an asynchronous headless DSH task in an absolute workspace. Permission mode: read-only (default; cannot write) or workspace-write (requires allow_write=true plus a valid local write grant for this exact workspace). The write grant is created locally; no token is sent to the model. danger-full-access is intentionally unavailable. The default is read-only. Use this only when local work is actually needed, not for ordinary conversation. Poll with dsh_get_status/dsh_get_result using wait_seconds instead of tight loops.
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>",
"workspace": "<workspace>"
},
"name": "dsh_start_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The concrete task for DSH. Include scope, acceptance checks, and constraints. | |
| title | No | Short human-readable label for the task. | |
| workspace | Yes | Absolute path to the project directory. DSH runs with this as its cwd. | |
| allow_write | No | Set true only when the user requested file modifications. A local write grant is still required; no token is accepted or needed. | |
| permission_mode | No | read-only is the default. workspace-write requires allow_write=true plus a valid local write grant for this workspace. | read-only |
| timeout_seconds | No | Maximum runtime in seconds. Bounded by the bridge config. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| next | No | ||
| task | Yes | ||
| message | No | ||
| terminal | Yes |