Launch Agent
Query
Comma-separated response fields to include.
Body
Task or instructions for the agent to execute.
GitHub repository URL for the agent to work in. Required unless using Source PR URL.
Branch, tag, or commit hash to use as the base ref.
Explicit model ID from List Models, or `default` to use Cursor's configured default.
Whether Cursor should automatically create a pull request when the agent completes.
Custom branch name for the agent to create.
GitHub pull request URL. When provided, Cursor works on the PR repository and branches.
Open the pull request as the Cursor GitHub App. Only applies when Auto Create PR is true.
Skip adding the user as reviewer when PR is opened by the Cursor GitHub App.
Whether to create a new branch when Source PR URL is provided. Defaults to true.
URL to receive agent status-change webhook notifications.
Secret for webhook payload verification, minimum 32 characters.
Optional array of base64 encoded images, maximum 5.