š§° Tools
The two tools exposed by the server ā query and list_models ā with example conversations.
The server exposes 2 tools: one for querying a model, one for discovering which models are available.
š¬ Querying
| Tool | Description |
|---|---|
query | Send a prompt to a Copilot model and return the response. Supports optional model selection and file/image attachments. |
š Discovery
| Tool | Description |
|---|---|
list_models | List all available Copilot models with capabilities, context window limits, and billing multipliers. |
š” Example conversations
"What Copilot models do I have access to?" ā Calls
list_models, returns all models with context limits and pricing.
"Ask GPT-5 to explain the difference between TCP and UDP." ā Calls
querywithmodel: "gpt-5".
"Use Claude Sonnet to review this code and suggest improvements." ā Calls
querywithmodel: "claude-sonnet-4.6"and the code as the prompt.
"What's in this screenshot?" ā Calls
querywith ablobattachment containing the image.
"Get a second opinion from Codex on this algorithm." ā Calls
querywithmodel: "gpt-5.3-codex".
For attaching files and images to a query call, see
Image Attachments.