analyze_directory
Evaluate and process directory contents based on a specified prompt, with options for recursive analysis, timeout, and output size limits, using Gemini CLI capabilities.
Instructions
Analyze a directory with a given prompt using Gemini CLI
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dir": "<dir>",
"prompt": "<prompt>"
},
"name": "analyze_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Directory path to analyze | |
| maxOutputKB | No | Maximum output size in KB (optional) | |
| prompt | Yes | Question or instruction for analysis | |
| recursive | No | Whether to analyze recursively | |
| timeout | No | Timeout in seconds (optional) |