ollama_explain_file
Explain a file by absolute path using Ollama, with the server reading it directly to reduce token usage during code or content analysis.
Instructions
Explain a file by path using Ollama. The MCP server reads the file directly, reducing token usage.
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_path": "<file_path>"
},
"name": "ollama_explain_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ollama model to use (default: gemma3:27b) | gemma3:12b |
| context | No | Additional context about what you want to understand | |
| file_path | Yes | Absolute path to the file to explain |