llm_predict
Process text prompts through a local language model to generate responses, enabling MCP-compatible clients to leverage local LLM inference.
Instructions
Process text input through a local LLM
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": "llm_predict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt to send to the LLM | |
| max_tokens | No | Maximum number of tokens to generate |