This action will stop a running Cursor cloud agent by cancelling its latest run, without deleting the agent.
Developer info
- API endpoint slug
- cursor.stop_agent
- Filter code method
- Cursor.stopAgent.skip(string?: reason)
- Runtime method
- runAction("cursor.stop_agent", {})
Action fields
Agent Text input > Other
- Label
- Agent ID
- Helper text
- The ID of the agent to stop (e.g. bc-3a1b9c...). Cancels the agent's most recent run.
- Slug
- agent_id
- Required
- true
- Can have default value
- true
- Filter code method
- Cursor.stopAgent.setAgentId(string: agent_id)
