Facebook Pages Execute Action
execute_actionExecute Facebook Pages actions (Step 3 FINAL).
Prerequisites: Run query_contexts with request='accounts' (includes available_actions) + request='actions_details' to understand the required payload.
IMPORTANT: The 'body' parameter is a dictionary that must contain ALL fields including:
action: Table/action name (e.g. 'posts', 'insights')
workspace_id: Integer workspace ID
brand_id: Integer brand ID
page_id: Page identifier
Any other fields from the helper response (filters, date ranges, metrics, etc.)
Do NOT pass these as separate parameters - they must ALL be inside the body dictionary.
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": {
"body": "<body>"
},
"name": "execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||