send_file
Sends a photo or video through Instagram DMs, optionally to a chosen chat or as a disappearing message.
Instructions
Send a photo or video (Instagram DMs take no other file types).
The path is read on the bridge host (where Instagram is connected).
Args: file_path: Path to the photo or video (on the bridge host). to: Chat alias. Omit for the sole subscribed target. view_mode: "once" (view once) or "replayable" (allow replay) sends it as a disappearing photo/video (videos: H.264 mp4). Omit for a normal one.
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": {
"file_path": "<file_path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| file_path | Yes | ||
| view_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||