analyze_files
Process and analyze multiple files using a specified prompt to extract insights or generate responses via the MCP Gemini API, supporting customizable timeout and output size limits.
Instructions
Analyze multiple files 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": {
"paths": "<paths>",
"prompt": "<prompt>"
},
"name": "analyze_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxOutputKB | No | Maximum output size in KB (optional) | |
| paths | Yes | Array of file paths to analyze | |
| prompt | Yes | Question or instruction for analysis | |
| timeout | No | Timeout in seconds (optional) |