Cursor: get run
cursor_get_runCheck a Cursor Cloud Agent run's status, duration, branch or PR, and final reply once finished.
Instructions
Inspect one run: status, duration, reported branch or PR, and the final reply once it has finished.
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": {
"agentId": "<agentId>",
"runId": "<runId>"
},
"name": "cursor_get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Run id, in `run-<uuid>` form. | |
| agentId | Yes | Agent id, in `bc-<uuid>` form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| branches | Yes | ||
| terminal | Yes | ||
| durationMs | No | ||
| resultBytes | No |