query_api
Call read-only QQ Bot API GET endpoints, including listing groups and fetching gateway bot or group member data, to retrieve bot and group information without performing writes.
Instructions
Call a read-only QQ API (GET endpoints such as get_gateway_bot, list_groups, get_group_member). Read mode or higher. For writes use invoke_api.
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": {
"api": "<api>"
},
"name": "query_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | API name or alias. | |
| body | No | Body (rare for read APIs). | |
| path | No | Path parameters, e.g. {"group_openid":"..."}. | |
| query | No | Query parameters. |