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
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) |
Input Schema (JSON Schema)
{
"properties": {
"maxOutputKB": {
"default": 1024,
"description": "Maximum output size in KB (optional)",
"type": "number"
},
"paths": {
"description": "Array of file paths to analyze",
"items": {
"type": "string"
},
"type": "array"
},
"prompt": {
"description": "Question or instruction for analysis",
"type": "string"
},
"timeout": {
"default": 300,
"description": "Timeout in seconds (optional)",
"type": "number"
}
},
"required": [
"paths",
"prompt"
],
"type": "object"
}