Get an operation
GetOperationAn operation, after waiting for it to end (wait_seconds): then the project as it is, and the log's end if it FAILED. Call again while it is IN_PROGRESS. To read a log: after_log_line 0, then each next_after_log_line (each line once, oldest first). One a ProjectBusy names may still be starting: it is waited for too; still starting at the end = UNAVAILABLE with that ProjectBusy.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "GetOperation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | The workspace: its id or name (ListWorkspaces). Omit when the account has one. | |
| project_id | No | ||
| operation_id | No | Empty = the latest. | |
| wait_seconds | No | How long to wait for it to end, ≤45. Absent = 45; 0 = answer at once. | |
| after_log_line | No | The previous next_after_log_line; 0 = from the start. Absent = the last lines. | |
| log_line_limit | No | ≤500; 0 = 50, when asked for lines. Also ends at ~64 KiB. |