cursor_agent_search_repo
Search repository code using include/exclude patterns with customizable output formats (text, JSON, markdown). Streamlines prompt-based repository analysis and reduces token usage for efficient code exploration.
Instructions
Search repository code with include/exclude patterns. Prompt-based wrapper.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cwd | No | ||
echo_prompt | No | ||
exclude | No | ||
executable | No | ||
extra_args | No | ||
force | No | ||
include | No | ||
model | No | ||
output_format | No | text | |
query | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cwd": {
"type": "string"
},
"echo_prompt": {
"type": "boolean"
},
"exclude": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"executable": {
"type": "string"
},
"extra_args": {
"items": {
"type": "string"
},
"type": "array"
},
"force": {
"type": "boolean"
},
"include": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"model": {
"type": "string"
},
"output_format": {
"default": "text",
"enum": [
"text",
"json",
"markdown"
],
"type": "string"
},
"query": {
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}