get_agent
Fetch the full definition of a Cursor agent by name. Access activation logic and rules for use across AI coding assistants.
Instructions
Fetches the full definition of a Cursor agent by name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name (as shown in get_context_index) |