Cursor: get agent
cursor_get_agentRetrieve a Cursor Cloud Agent's repositories, settings, web URL, and latest run ID by providing its agent ID for a complete status overview.
Instructions
Inspect one agent: repos, settings, web URL, and the id of its most recent run.
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>"
},
"name": "cursor_get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent id, in `bc-<uuid>` form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| name | No | ||
| repos | Yes | ||
| status | Yes | ||
| followUp | Yes | ||
| metadata | No | ||
| environment | No | ||
| latestRunId | No | ||
| repoDetails | Yes | ||
| autoCreatePR | No | ||
| workOnCurrentBranch | No |