cursor_usage
Retrieve token usage and dollar cost for a Cursor Cloud Agent or a single run. Use it to check spend when a run felt expensive.
Instructions
Token usage and cost for an agent (or one run). Costs real money — check this when a run felt expensive.
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": {
"agent_id": "<agent_id>"
},
"name": "cursor_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| agent_id | Yes |