meta validate query
meta_validate_queryValidate metric and breakdown combinations before executing Meta Ads queries. Returns errors and warnings to prevent failed data requests.
Instructions
Validate a metric/breakdown combination BEFORE executing. Returns errors and warnings. Use this to check if your query will work.
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": {
"metrics": "<metrics>"
},
"name": "meta_validate_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Aggregation level | |
| metrics | Yes | Metric keys to validate | |
| breakdowns | No | Breakdown keys to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |