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.
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'. |