cursor_agent_analyze_files
Analyze files or directories using a prompt-based approach. Customize output formats like text, JSON, or markdown for efficient repository analysis and reduced token usage.
Instructions
Analyze one or more paths; optional prompt. Prompt-based wrapper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| echo_prompt | No | ||
| executable | No | ||
| extra_args | No | ||
| force | No | ||
| model | No | ||
| output_format | No | text | |
| paths | Yes | ||
| prompt | No |
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"
},
"paths": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
}
]
},
"prompt": {
"type": "string"
}
},
"required": [
"paths"
],
"type": "object"
}