Respond to work
respondAnswer a work item with text for the learner and optional tool calls, then receive the next item in the same conversation or a turn_complete status.
Instructions
Answer a work item the way a model would: text for the learner (or the task), and/or calls to the tools listed in the work item. Returns the next work item in the same conversation when the app needs you again right away (for example with tool results), or status "turn_complete".
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": {
"work_id": "<work_id>"
},
"name": "respond"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Your message (markdown). | |
| work_id | Yes | The workId from wait_for_work or a previous respond. | |
| tool_calls | No | Tool calls, run in order. Use only tools listed in the work item. | |
| wait_seconds | No | How long to wait for the follow-up (default 30). |