Data Query
query_dataQuery and read data from any platform (read-only operations).
Runs read actions from the InsightfulPipe raw actions API; the query_contexts helper documents each action's exact request schema.
Use for fetching reports, analytics, metrics, and listings. For write operations, use execute_action 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 querying. Follow the schema exactly.
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": "query_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| platform | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||