cursor_agent_run
Execute cursor-agent commands with specified prompts and output formats to optimize repository analysis, code search, and file editing, reducing token usage and enhancing task efficiency.
Instructions
Run cursor-agent with a prompt and desired output format (legacy single-shot).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cwd | No | ||
executable | No | ||
extra_args | No | ||
force | No | ||
model | No | ||
output_format | No | text | |
prompt | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cwd": {
"type": "string"
},
"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"
},
"prompt": {
"minLength": 1,
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}