Prepare a Facebook post
create_page_postPrepare a post for a Facebook Page of the space, as a draft: nothing is published. A human of the space reviews it, can change it, and publishes or schedules it from the web interface (tab Publications). Tell the user the draft is waiting for them there.
images: image files already saved in the space (save_file); with images, the link is added at
the end of the text. scheduled_for omitted: published as soon as the human validates 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": {
"space": "<space>",
"page": "<page>",
"message": "<message>"
},
"name": "create_page_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | A web address shown with the post (http or https). | |
| page | Yes | A Facebook Page opened to the space: `id` in facebook_pages of list_spaces. | |
| space | Yes | Space identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces. | |
| images | No | ||
| message | Yes | Text of the post, plain text (no Markdown). | |
| scheduled_for | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| version | Yes |