ask_model
Send a prompt to a selected AI model and receive its response. Use this to directly query any configured provider by model alias.
Instructions
Send a prompt to a single configured model and return its response. Use this for a direct query to a specific provider/model.
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": {
"model_alias": "<model_alias>",
"prompt": "<prompt>"
},
"name": "ask_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_alias | Yes | Model alias from models.yaml (e.g. 'gpt', 'claude', 'gemini') | |
| prompt | Yes | The prompt / question to send. | |
| system_prompt | No | Optional system prompt. | |
| temperature | No | Sampling temperature (0–2). Default 0.7. | |
| max_tokens | No | Max tokens in the response. Default 2048. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||