cursor_agent_raw
Execute raw command-line arguments with the Cursor Agent CLI to perform repository analysis, code search, and editing tasks. Pass custom flags and parameters directly for precise workspace operations.
Instructions
Advanced: provide raw argv array to pass after common flags (e.g., ["search","--query","foo"]).
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": {
"argv": "<argv>"
},
"name": "cursor_agent_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| argv | Yes | ||
| No | |||
| output_format | No | text | |
| extra_args | No | ||
| cwd | No | ||
| executable | No | ||
| model | No | ||
| force | No | ||
| echo_prompt | No |