Control instruction task
control_instruction_taskPause, resume, cancel, retry or clarify a selected instruction task. The control record lets the executing agent acknowledge the change.
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": {
"projectId": "<projectId>",
"taskId": "<taskId>",
"expectedVersion": "<expectedVersion>",
"action": "<action>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "control_instruction_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text accompanying the task control action, such as a clarification. | |
| action | Yes | Requested control operation for the selected instruction task. | |
| taskId | Yes | Existing instruction task ID from the project inbox or a task creation result; distinct from a queue item or session ID. | |
| projectId | Yes | Owned Brain Scanner project ID from the account's project list; not a local path or repository URL. | |
| sessionId | No | ID of this project's active agent session, returned when the session was started. Not needed for read-only calls. | |
| executionId | No | Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID. | |
| idempotencyKey | Yes | Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action. | |
| expectedVersion | Yes | Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying. |