dispatchTask
Assign a specific task to a coder or tester expert, then wait for their results before dispatching the next 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": {
"worker": "<worker>",
"taskInstruction": "<taskInstruction>"
},
"name": "dispatchTask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker | Yes | 接收任务的专家。'CODER' 负责读写代码文件;'TESTER' 负责运行终端编译或测试命令。 | |
| taskInstruction | Yes | 具体要这个专家执行的详细指令。例如:'帮我查看 src/index.ts 的内容并修复其中的类型 Bug'。 |