{"name":"audience_query","inputSchema":{"type":"object","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"list_audiences"},"ad_account_id":{"type":"string","minLength":1},"kind":{"default":"all","type":"string","enum":["custom","saved","all"]}},"required":["action","ad_account_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"targeting"},"ad_account_id":{"type":"string","minLength":1},"adset_id":{"type":"string","minLength":1}},"required":["action","ad_account_id","adset_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"breakdown"},"ad_account_id":{"type":"string","minLength":1},"dimension":{"type":"string","enum":["age","gender","country","region","publisher_platform","platform_position","impression_device","device_platform"]},"level":{"default":"account","type":"string","enum":["account","campaign","adset","ad"]},"object_id":{"type":"string","minLength":1},"date_window":{"default":"last_30d","type":"string","enum":["last_7d","last_14d","last_30d"]},"granularity":{"default":"total","type":"string","enum":["total","daily"]},"result_action_type":{"type":"string","minLength":1}},"required":["action","ad_account_id","dimension"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"organic_demographics"},"platform":{"type":"string","enum":["instagram","facebook","linkedin"]},"account_id":{"type":"string","minLength":1},"date_window":{"default":"last_30d","type":"string","enum":["last_7d","last_14d","last_30d","last_90d"]}},"required":["action","platform"],"additionalProperties":false}]}}
