cursor_agent_raw
Process raw command-line arguments for cursor-agent CLI, enabling efficient repository analysis, code search, file editing, and task planning with configurable output formats to optimize token usage.
Instructions
Advanced: provide raw argv array to pass after common flags (e.g., ["search","--query","foo"]).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
argv | Yes | ||
cwd | No | ||
echo_prompt | No | ||
executable | No | ||
extra_args | No | ||
force | No | ||
model | No | ||
output_format | No | text | |
No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"argv": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"cwd": {
"type": "string"
},
"echo_prompt": {
"type": "boolean"
},
"executable": {
"type": "string"
},
"extra_args": {
"items": {
"type": "string"
},
"type": "array"
},
"force": {
"type": "boolean"
},
"model": {
"type": "string"
},
"output_format": {
"default": "text",
"enum": [
"text",
"json",
"markdown"
],
"type": "string"
},
"print": {
"type": "boolean"
}
},
"required": [
"argv"
],
"type": "object"
}