cursor_cancel
Cancel the active run of a Cursor Cloud Agent to stop it immediately. Since cancellation is terminal, send a follow-up to start a new run on the same agent.
Instructions
Cancel the active run. Cancellation is terminal — to continue the conversation, send a follow-up (which starts a new run on the same agent). Does not archive the agent. Returns the run's actual post-cancel state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| agent_id | Yes |