Ask models
ask_modelSend a prompt to one or more AI models and return each labelled answer, using your default model set when none are specified.
Instructions
Send a prompt to one or more AI models and return each answer, labelled with what paid for it. With model or models, those models are asked. Without them, your default set is asked: sources on this machine first (your ChatGPT plan for OpenAI models when connected, then Claude Code and Codex under your own login, never the agent that called it), then models through Polydev with your own API keys, OpenRouter or Polydev free requests.
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 |
|---|---|---|---|
| model | No | Optional: one model ID to ask, for example a model shown by list_models. | |
| models | No | Optional: several model IDs to ask. Without model or models, your default set is asked. | |
| prompt | Yes | The prompt to send. Include the relevant code, errors and constraints. | |
| user_token | No | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |