get_task_run
Read a scoped TaskRun state and lifecycle version. Use to read the scoped resource; use its create, execute, or transition sibling for state changes. Required fields: organizationId, projectId, environmentId, taskRunId. The authenticated MCP session supplies the tenant scope; any supplied scope identifiers must match it. Unknown fields are rejected. This is read-only and returns scope-bound data.
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>"
},
"name": "get_task_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 get_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. |