Sim

Cursor

Agent identifier

Tools

cursor_list_agents

List all cloud agents for the authenticated user with optional pagination. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
limitnumberNoNumber of agents to return (default: 20, max: 100)
cursorstringNoPagination cursor from previous response

Output

ParameterTypeDescription
agentsarrayArray of agent objects
nextCursorstringPagination cursor for next page

cursor_get_agent

Retrieve the current status and results of a cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID
namestringAgent name
statusstringAgent status
sourcejsonSource repository info
targetjsonTarget branch/PR info
summarystringAgent summary
createdAtstringCreation timestamp

cursor_get_conversation

Retrieve the conversation history of a cloud agent, including all user prompts and assistant responses. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID
messagesarrayArray of conversation messages

cursor_launch_agent

Start a new cloud agent to work on a GitHub repository with the given instructions. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
repositorystringYesGitHub repository URL (e.g., https://github.com/your-org/your-repo\)
refstringNoBranch, tag, or commit to work from (defaults to default branch)
promptTextstringYesThe instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions
modelstringNoModel to use (leave empty for auto-selection)
branchNamestringNoCustom branch name for the agent to use
autoCreatePrbooleanNoAutomatically create a PR when the agent finishes
openAsCursorGithubAppbooleanNoOpen the PR as the Cursor GitHub App
skipReviewerRequestbooleanNoSkip requesting reviewers on the PR

Output

ParameterTypeDescription
idstringAgent ID
urlstringAgent URL

cursor_add_followup

Add a follow-up instruction to an existing cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
followupPromptTextstringYesThe follow-up instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions (max 5)

Output

ParameterTypeDescription
idstringAgent ID

cursor_stop_agent

Stop a running cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID

cursor_delete_agent

Permanently delete a cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started