publish_page_photo_from_file
Upload a local image file directly to a Facebook Page as a photo post. Provide the page ID and file path, with optional caption and publish status.
Instructions
Publie une photo sur une Page Facebook depuis un fichier local (upload direct).
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": {
"page_id": "<page_id>",
"file_path": "<file_path>"
},
"name": "publish_page_photo_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| page_id | Yes | ||
| file_path | Yes | ||
| published | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||