send_instruction
Send follow-up instructions to a task, resuming completed or stopped tasks and restarting running ones with new directives.
Instructions
向已完成或已停止的任务发送后续指令(resume 会话)。对运行中的任务会先停止再续接。
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_id": "<task_id>",
"message": "<message>"
},
"name": "send_instruction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 续接模式,默认 async | |
| message | Yes | 追加的指令内容 | |
| task_id | Yes | 任务 ID |