get_input_peer
Resolve a chat identifier into an InputPeer object for raw Telegram API calls. Use the returned dict as kwargs_json for invoke_raw.
Instructions
Получить InputPeer для чата (нужен для raw API вызовов).
Возвращает dict с _, который можно положить в kwargs_json для invoke_raw.
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": {
"chat": "<chat>"
},
"name": "get_input_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||