ask_local
Query a local Ollama model for drafts, summaries, or helper output while secrets stay local; returned answers are redacted before leaving via MCP.
Instructions
Ask the local Ollama model. Secrets/PII in the prompt are allowed (stay on Ollama). By default appends a no-echo system hint and redacts the answer before returning it over MCP (output-only DLP).
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": {
"prompt": "<prompt>"
},
"name": "ask_local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override default OLLAMA_MODEL | |
| prompt | Yes | User prompt / question (may include secrets/PII; processed only on local Ollama) | |
| redact | No | Redact answer before MCP return (default: env REDACT_OUTPUT, usually true). Does not scrub the inbound prompt. | |
| system | No | Optional system instruction (merged with no-echo policy) | |
| allow_echo | No | If true, skip the built-in no-echo system add-on (weakens output DLP; not recommended) |