ollama_analyze_files
Analyze multiple files together with Ollama to uncover dependencies, check consistency, and summarize architecture across a codebase.
Instructions
Analyze multiple files together using Ollama. Useful for understanding relationships between files.
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": {
"file_paths": "<file_paths>",
"task": "<task>"
},
"name": "ollama_analyze_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What analysis to perform (e.g., 'find dependencies', 'check consistency', 'summarize architecture') | |
| model | No | Ollama model to use (default: gemma3:27b) | gemma3:12b |
| file_paths | Yes | Array of absolute paths to files to analyze together |