Execute Action
execute_actionExecute write operations on any platform (create, update, delete, publish, send).
Runs write actions from the InsightfulPipe raw actions API; the query_contexts helper documents each action's exact request schema.
Use for creating posts, updating products, deleting comments, publishing content, sending emails/SMS, and managing campaigns. For read-only queries, use query_data instead.
REQUIRED: Complete these steps first using query_contexts:
request='accounts' platform='' - Get workspace_id, brand_id, and source identifiers
request='available_actions' platform='' - Get list of all available actions
request='actions_details' platform='' actions=['xxxx'] - Get detailed body structure
Always call step 3 to see the exact body structure before executing.
WARNING: This tool can perform irreversible actions. Confirm intent before proceeding.
Platform-specific safety rules may apply. For Pinterest Ads, supported writes are create/update only, no delete methods are exposed, and campaign/ad group/ad delivery remains PAUSED. For Pinterest Pages, supported writes are create/update only for pins, boards, and board sections; no delete methods are exposed.
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": {
"platform": "<platform>",
"body": "<body>"
},
"name": "execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| platform | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||