Connect a client
Get operation progress
Check whether queued work is running, completed, failed or cancelled. Use the public operation ID returned by the customer API. An operation tracks the request: for a deploy or a create with autoDeployOnCreate, it can succeed before the build does, so wait on the deployment instead.
Arguments
| Name | Type | Required | Limits |
|---|---|---|---|
projectId | string | Yes | At least 1 character(s) |
operationId | string | Yes | At least 1 character(s) |
Full input schema
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"minLength": 1
},
"operationId": {
"type": "string",
"minLength": 1
}
},
"required": [
"projectId",
"operationId"
],
"additionalProperties": false
}Example call
The params of a tools/call request. Replace the placeholder values with your own IDs.
{
"name": "getProjectOperation",
"arguments": {
"projectId": "REPLACE_WITH_PROJECT_ID",
"operationId": "REPLACE_WITH_OPERATION_ID"
}
} Result
The same data as the API operation, wrapped as {"untrusted_data": true, "source": "getProjectOperation", "note": "...", "data": ...} so the model treats project content as data, not instructions.