inline_query
Query an inline bot and inspect returned result cards, sending your query and user ID only to a whitelisted bot owner.
Instructions
Query an inline bot and inspect returned result cards. The query text and your user id are sent to the bot's owner, so the bot must be a whitelisted destination (Send tier).
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": {
"bot": "<bot>",
"query": "<query>"
},
"name": "inline_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Inline bot reference (canonical ID or `@bot_username`). | |
| chat | No | Optional chat context reference. | |
| query | Yes | Inline query text. | |
| offset | No | Optional pagination offset returned by an earlier query. |