ask_model
Send prompts to Claude-compatible AI models through a local MCP server. Get text responses for queries using a standardized tool interface.
Instructions
Call a model via the local MCP server. Sends a prompt to an upstream service compatible with the Claude Messages API and returns the text response.
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_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| system | No | ||
| model | No | ||
| maxTokens | No |