Skip to content

vendor_connectors.cursor.tools

AI framework tools for Cursor Background Agent operations.

This module provides tools for Cursor operations that work with multiple AI agent frameworks.

LaunchAgentSchemaPydantic schema for the cursor_launch_agent tool.
GetAgentStatusSchemaPydantic schema for the cursor_get_agent_status tool.
cursor_launch_agentLaunch a new Cursor coding agent.
cursor_get_agent_statusGet the current status of a Cursor agent.
get_langchain_toolsGet all Cursor tools as LangChain StructuredTools.
get_crewai_toolsGet all Cursor tools as CrewAI tools.
get_strands_toolsGet all Cursor tools as plain Python functions for AWS Strands.
get_toolsGet Cursor tools for the specified or auto-detected framework.
TOOL_DEFINITIONS

class vendor_connectors.cursor.tools.LaunchAgentSchema

Section titled “class vendor_connectors.cursor.tools.LaunchAgentSchema”

Bases: pydantic.BaseModel

Pydantic schema for the cursor_launch_agent tool.

‘Field(…)’

‘Field(…)’

‘Field(…)’

‘Field(…)’

class vendor_connectors.cursor.tools.GetAgentStatusSchema

Section titled “class vendor_connectors.cursor.tools.GetAgentStatusSchema”

Bases: pydantic.BaseModel

Pydantic schema for the cursor_get_agent_status tool.

‘Field(…)’

Launch a new Cursor coding agent.

Args: prompt: Task description. repository: Repository (owner/repo). ref: Optional git ref. branch_name: Optional branch name.

Returns: Dict with agent ID and state.

Get the current status of a Cursor agent.

Args: agent_id: Agent identifier.

Returns: Dict with agent state and details.

vendor_connectors.cursor.tools.TOOL_DEFINITIONS

Section titled “vendor_connectors.cursor.tools.TOOL_DEFINITIONS”

None

Get all Cursor tools as LangChain StructuredTools.

Get all Cursor tools as CrewAI tools.

Get all Cursor tools as plain Python functions for AWS Strands.

Get Cursor tools for the specified or auto-detected framework.