delegate_task
Delegate self-contained subtasks to a DeepSeek worker and get synchronous results with token and cost estimates; reuse sessions via sessionKey and use pure-text mode for text or code generation.
Instructions
把可独立完成的子任务交给 DeepSeek worker(同步返回,附带实时 Token 消耗与人民币费用估算)。同轮任务/同批子任务传相同 sessionKey 复用会话;无关新任务换新 key 或省略(每次全新、不污染)。纯文本/代码生成任务可传 pureText:true 禁用工具调用以大幅提速省 Token。
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_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | 工作目录(绝对路径);默认自动回退到工作区目录(Windows 路径大小写/斜杠自动归一化) | |
| task | Yes | 要 DeepSeek worker 执行的自然语言任务(越具体越好) | |
| tier | No | 难度档:flash=便宜快(默认);max=更强/1M上下文 | |
| fresh | No | 为 true 时强制重开会话(清空记忆) | |
| warnMs | No | 提醒阈值(毫秒),默认 900000=15 分钟 | |
| context | No | 可选:来自大脑的记忆/上下文,注入给 worker 参考 | |
| forceMs | No | 强制收尾阈值(毫秒),默认 1500000=25 分钟 | |
| pureText | No | 为 true 时开启纯文本/纯代码快速模式(禁止 worker 调用本地 shell/文件工具,直接生成结果,防过度自检耗时) | |
| timeoutMs | No | 硬超时(毫秒),默认 1800000=30 分钟;范围 10s~2h | |
| sessionKey | No | 会话键:相同 key 复用同一常驻会话;省略=一次性全新会话 | |
| reasoningEffort | No | 思考深度:low=极速浅思考;high=深度思考(默认);max=极限思考 |