tiktok validate query
tiktok_validate_queryValidate TikTok Ads metric and dimension combinations before executing. Checks dimension grouping rules, lifetime compatibility, and metric-dimension compatibility to prevent query failures.
Instructions
Validate a TikTok metric/dimension combination BEFORE executing. Checks dimension grouping rules, lifetime compatibility, and metric/dimension compatibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes | Metric keys to validate | |
| dataLevel | No | TikTok reporting aggregation level. Metrics and dimensions must be compatible with this level. | AUCTION_CAMPAIGN |
| dimensions | No | Dimension keys to validate | |
| reportType | No | Native provider report type; determines supported metrics and dimensions. | |
| queryLifetime | No | Request lifetime reporting instead of the explicit reporting period where TikTok supports it. |
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. |