create_post
Create text, link, or photo posts on a Facebook Page and retrieve the new post ID.
Instructions
Create a new post on the Facebook Page. Supports text posts, link posts, and photo posts. Returns the new post ID.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | URL to share as a link post. | |
| message | No | Text content of the post. | |
| page_id | No | Facebook Page ID. Defaults to FB_PAGE_ID env var if omitted. | |
| photo_url | No | Public URL of an image to post as a photo post. The image must be publicly accessible. |