delegate
Executes routine development tasks by delegating them to a headless Cursor CLI agent with full read, edit, and shell access, using a cost-efficient model.
Instructions
Delegate a task to the Cursor CLI agent running headless (agent -p). Cheap/fast worker with full tool access (read, edit, shell) in cwd. Use for routine implementation, edits, and tasks where a cheaper model is enough.
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": {
"prompt": "<prompt>"
},
"name": "delegate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The complete task prompt for the Cursor agent. | |
| cwd | No | Absolute path to the project root. Defaults to the server's cwd. | |
| model | No | Cursor model id (e.g. 'auto', 'composer-2.5', 'gpt-5.2'). Default 'auto' (cheapest). | |
| effort | No | Reasoning effort for parameterized models (e.g. 'low'|'high'). Ignored by 'auto'. |