create_canvas
Create a Facebook Instant Experience (Canvas) on a Page by providing its Page ID and a JSON body_elements array that defines the canvas layout.
Instructions
Create a new Instant Experience (Canvas) on a Facebook Page. Requires page_id and body_elements JSON array defining the canvas layout.
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>",
"body_elements": "<body_elements>"
},
"name": "create_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Canvas name | |
| page_id | Yes | Facebook Page ID to create the canvas on | |
| body_elements | Yes | JSON array of canvas body elements (buttons, carousels, photos, videos, text, etc.) |