query
Send prompts to GitHub Copilot models (default GPT-4.1) and receive responses. Use list_models to see available models.
Instructions
Send a prompt to an opencode model. Defaults to github-copilot/gpt-4.1. Filters — allow: all. Use list_models to see what's available.
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use in provider/model format (default: github-copilot/gpt-4.1) | |
| prompt | Yes | The prompt to send |