cursor_agent_chat
Interact with cursor-agent using a prompt to generate responses in text, JSON, or markdown formats. Supports cost-effective repository analysis, code search, and task planning with configurable output options.
Instructions
Chat with cursor-agent using a prompt and optional model/force/output_format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cwd | No | ||
echo_prompt | 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"
},
"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"
},
"prompt": {
"minLength": 1,
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}