continue_task_run
Resume a waiting scoped TaskRun using its current state version. Use only after the preceding resource and authority prerequisites are satisfied; inspect the server receipt before continuing. Required fields: organizationId, projectId, environmentId, taskRunId, expectedVersion. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This changes governed state and remains fail-closed behind server authorization and an auditable receipt.
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": {
"taskRunId": "<taskRunId>",
"expectedVersion": "<expectedVersion>"
},
"name": "continue_task_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Documented cursor input for continue_task_run; use the published type and keep customer data within the authenticated scope. | |
| projectId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| taskRunId | Yes | Immutable taskRunId reference used to bind this continue_task_run operation to the correct released or persisted resource. | |
| environmentId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| organizationId | No | Authenticated customer scope identifier; must match the API key scope and is never inferred from model text. | |
| expectedVersion | Yes | Current persisted lifecycle version; required for optimistic concurrency and must be read immediately before the transition. |