Send a photo
send_conversation_photoQueues a photo for delivery to a specific conversation using a local file path, enabling image sharing through the API.
Instructions
Send a photo. Required API key scope: conversations:write. POST /conversations/{id}/photo Queues a photo send; the message appears in the conversation once the worker delivers it.
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": {
"id": "<id>",
"file_path": "<file_path>"
},
"name": "send_conversation_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Path parameter `id`. | |
| file_path | Yes | Path to a local file, uploaded as the multipart `photo` field. |