send_file
Upload a local file to any chat using its chat ID or username. The file is sent instantly with no option to undo.
Instructions
Upload a local file to a chat. Delivered immediately, no undo.
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>",
"path": "<path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat identifier from list_chats or search_chats: a numeric chat_id, a @username, or "me" for Saved Messages. Do not invent one. | |
| path | Yes | Absolute path to a local file | |
| caption | No |