fb_publish_post
Publish or schedule Facebook Page posts with text, links, or photos, including local or URL images and future timing. Confirm content and timing before posting publicly.
Instructions
Publish or schedule a Page post: text, text + link, or photo (local file or URL). This is public: confirm content and timing with the user first.
:param message: Post text / photo caption. :param link: Optional URL to attach (text posts only). :param photo_path: Optional local image path (jpg, png, gif, webp...). :param photo_url: Optional public image URL. Use photo_path or photo_url, not both. :param scheduled_publish_time: Optional UNIX seconds, at least 10 minutes ahead. :param page_id: Optional Page id; defaults to FB_PAGE_ID. :param page_access_token: Optional Page token.
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": {
"message": "<message>"
},
"name": "fb_publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| message | Yes | ||
| page_id | No | ||
| photo_url | No | ||
| photo_path | No | ||
| page_access_token | No | ||
| scheduled_publish_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |