Facebook / Messenger: Create post
facebook_create_postPublish as the explicitly selected owner or activated Page. Text can mention @. Photos OR one video; a share uses quoted_post_id without attachments. Visibility is public or friends. External action: preserve explicit user approval. Never retry after an uncertain failure; inspect current state first.
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": {
"text": "<text>",
"post_as": "<post_as>"
},
"name": "facebook_create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| post_as | Yes | Explicit publishing identity: me or an activated administered Page ID from facebook_list_inboxes -> page_id, verified in Hosted Auth. A Page's messaging id and profile_id can differ. Never infer one from the other; reconnect the same account to activate Pages. | |
| can_read | No | ||
| account_id | No | Owned Facebook unipile_account_id from list_connected_accounts. Not a Facebook person or Page ID. Required when several Facebook accounts exist. | |
| attachments | No | ||
| quoted_post_id | No | Full Facebook post.id (<author_id>_<post_id>) from facebook_list_user_posts or facebook_get_post. Not a URL, text or author ID alone. |