addedOutput schema / else / anyOf
Added value: +[
+ {
+ "properties": {
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "creation_snapshot": {
+ "properties": {
+ "ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_copies": {
+ "items": {
+ "properties": {
+ "ad_id": {
+ "type": "string"
+ },
+ "adset_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "availability": {
+ "enum": [
+ "available",
+ "partial",
+ "unavailable"
+ ]
+ },
+ "body": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "captured_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "const": "task_creation_snapshot"
+ },
+ "submitted_copy": {
+ "properties": {
+ "availability": {
+ "type": "string"
+ },
+ "body": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "source_ad_id": {
+ "type": "string"
+ },
+ "submitted_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "ad_id",
+ "source",
+ "captured_at",
+ "availability",
+ "reason",
+ "title",
+ "body",
+ "description"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ad_copies_generation": {
+ "type": "string"
+ },
+ "ad_copies_next_offset": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "ad_copies_next_request": {
+ "properties": {
+ "copy_generation": {
+ "type": "string"
+ },
+ "copy_offset": {
+ "type": "integer"
+ },
+ "include_live": {
+ "const": false
+ }
+ },
+ "required": [
+ "copy_offset",
+ "copy_generation",
+ "include_live"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "ad_copies_total": {
+ "type": "integer"
+ },
+ "adsets": {
+ "items": {
+ "properties": {
+ "campaign_id": {
+ "type": "string"
+ },
+ "fingerprint": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "targeting": {
+ "properties": {
+ "age_max": {
+ "type": "integer"
+ },
+ "age_min": {
+ "type": "integer"
+ },
+ "countries": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "genders": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "captured_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "created_objects": {
+ "properties": {
+ "ads": {
+ "$ref": "#/$defs/s9"
+ },
+ "adsets": {
+ "$ref": "#/$defs/s9"
+ },
+ "campaigns": {
+ "$ref": "#/$defs/s9"
+ }
+ },
+ "required": [
+ "campaigns",
+ "adsets",
+ "ads"
+ ],
+ "type": "object"
+ },
+ "failures": {
+ "$ref": "#/$defs/s1"
+ },
+ "source": {
+ "const": "task_creation_snapshot"
+ },
+ "task_ref": {
+ "type": "string"
+ },
+ "task_type": {
+ "type": "string"
+ },
+ "template_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "adsets",
+ "created_objects"
+ ],
+ "type": "object"
+ },
+ "execution_summary": {
+ "properties": {
+ "action": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "created": {
+ "$ref": "#/$defs/s0"
+ },
+ "error": {
+ "properties": {
+ "automatic_retry_allowed": {
+ "type": "boolean"
+ },
+ "category": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "operator_review_required": {
+ "type": "boolean"
+ },
+ "request_sent": {
+ "type": "boolean"
+ },
+ "retry_exhausted": {
+ "type": "boolean"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "support_ref": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "null",
+ "object",
+ "string"
+ ]
+ },
+ "error_count": {
+ "type": "integer"
+ },
+ "failures": {
+ "$ref": "#/$defs/s1"
+ },
+ "operator_review_required": {
+ "type": "boolean"
+ },
+ "outcome": {
+ "properties": {
+ "created_count_line": {
+ "type": "string"
+ },
+ "summary_line": {
+ "type": "string"
+ },
+ "terminal_status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "planned": {
+ "$ref": "#/$defs/s0"
+ }
+ },
+ "type": "object"
+ },
+ "finished_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "live_snapshot": {
+ "properties": {
+ "ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "adsets": {
+ "items": {
+ "properties": {
+ "campaign_id": {
+ "type": "string"
+ },
+ "fingerprint": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "targeting": {
+ "properties": {
+ "age_max": {
+ "type": "integer"
+ },
+ "age_min": {
+ "type": "integer"
+ },
+ "countries": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "genders": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "errors": {
+ "items": {
+ "properties": {
+ "adset_id": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fetched_at": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source": {
+ "const": "meta_live"
+ }
+ },
+ "required": [
+ "source",
+ "available",
+ "adsets"
+ ],
+ "type": "object"
+ },
+ "narrative": {
+ "properties": {
+ "details": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "headline": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "user_instruction": {
+ "type": "string"
+ },
+ "what_happens_next": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "started_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "task_ref": {
+ "type": "string"
+ },
+ "task_type": {
+ "type": "string"
+ },
+ "terminal": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "task_type",
+ "status",
+ "terminal",
+ "creation_snapshot"
+ ]
+ },
+ {
+ "properties": {
+ "result_page": {
+ "additionalProperties": false,
+ "properties": {
+ "byte_length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "byte_offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "complete": {
+ "description": "Frozen result bytes retrieved, not source completeness.",
+ "type": "boolean"
+ },
+ "data_base64url": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "mcp-call-tool-result-json-utf8+base64url"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "segment_sha256": {
+ "type": "string"
+ },
+ "sha256": {
+ "type": "string"
+ },
+ "snapshot_ref": {
+ "type": "string"
+ },
+ "total_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "encoding",
+ "snapshot_ref",
+ "sha256",
+ "segment_sha256",
+ "data_base64url",
+ "expires_at",
+ "byte_offset",
+ "byte_length",
+ "total_bytes",
+ "next_cursor",
+ "complete"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "result_page"
+ ]
+ }
+]
removedOutput schema / else / properties
Removed value: -{
- "created_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "creation_snapshot": {
- "properties": {
- "ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_copies": {
- "items": {
- "properties": {
- "ad_id": {
- "type": "string"
- },
- "adset_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "availability": {
- "enum": [
- "available",
- "partial",
- "unavailable"
- ]
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "captured_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "reason": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "const": "task_creation_snapshot"
- },
- "submitted_copy": {
- "properties": {
- "availability": {
- "type": "string"
- },
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "reason": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "source_ad_id": {
- "type": "string"
- },
- "submitted_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "ad_id",
- "source",
- "captured_at",
- "availability",
- "reason",
- "title",
- "body",
- "description"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "ad_copies_generation": {
- "type": "string"
- },
- "ad_copies_next_offset": {
- "type": [
- "integer",
- "null"
- ]
- },
- "ad_copies_next_request": {
- "properties": {
- "copy_generation": {
- "type": "string"
- },
- "copy_offset": {
- "type": "integer"
- },
- "include_live": {
- "const": false
- }
- },
- "required": [
- "copy_offset",
- "copy_generation",
- "include_live"
- ],
- "type": [
- "null",
- "object"
- ]
- },
- "ad_copies_total": {
- "type": "integer"
- },
- "adsets": {
- "items": {
- "properties": {
- "campaign_id": {
- "type": "string"
- },
- "fingerprint": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "targeting": {
- "properties": {
- "age_max": {
- "type": "integer"
- },
- "age_min": {
- "type": "integer"
- },
- "countries": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "genders": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "captured_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "created_objects": {
- "properties": {
- "ads": {
- "$ref": "#/$defs/s9"
- },
- "adsets": {
- "$ref": "#/$defs/s9"
- },
- "campaigns": {
- "$ref": "#/$defs/s9"
- }
- },
- "required": [
- "campaigns",
- "adsets",
- "ads"
- ],
- "type": "object"
- },
- "failures": {
- "$ref": "#/$defs/s1"
- },
- "source": {
- "const": "task_creation_snapshot"
- },
- "task_ref": {
- "type": "string"
- },
- "task_type": {
- "type": "string"
- },
- "template_name": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "source",
- "adsets",
- "created_objects"
- ],
- "type": "object"
- },
- "execution_summary": {
- "properties": {
- "action": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "created": {
- "$ref": "#/$defs/s0"
- },
- "error": {
- "properties": {
- "automatic_retry_allowed": {
- "type": "boolean"
- },
- "category": {
- "type": "string"
- },
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "operator_review_required": {
- "type": "boolean"
- },
- "request_sent": {
- "type": "boolean"
- },
- "retry_exhausted": {
- "type": "boolean"
- },
- "retryable": {
- "type": "boolean"
- },
- "support_ref": {
- "type": "string"
- }
- },
- "type": [
- "null",
- "object",
- "string"
- ]
- },
- "error_count": {
- "type": "integer"
- },
- "failures": {
- "$ref": "#/$defs/s1"
- },
- "operator_review_required": {
- "type": "boolean"
- },
- "outcome": {
- "properties": {
- "created_count_line": {
- "type": "string"
- },
- "summary_line": {
- "type": "string"
- },
- "terminal_status": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "planned": {
- "$ref": "#/$defs/s0"
- }
- },
- "type": "object"
- },
- "finished_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "live_snapshot": {
- "properties": {
- "ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "adsets": {
- "items": {
- "properties": {
- "campaign_id": {
- "type": "string"
- },
- "fingerprint": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "targeting": {
- "properties": {
- "age_max": {
- "type": "integer"
- },
- "age_min": {
- "type": "integer"
- },
- "countries": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "genders": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "available": {
- "type": "boolean"
- },
- "errors": {
- "items": {
- "properties": {
- "adset_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "fetched_at": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "source": {
- "const": "meta_live"
- }
- },
- "required": [
- "source",
- "available",
- "adsets"
- ],
- "type": "object"
- },
- "narrative": {
- "properties": {
- "details": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "headline": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "user_instruction": {
- "type": "string"
- },
- "what_happens_next": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "started_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "task_ref": {
- "type": "string"
- },
- "task_type": {
- "type": "string"
- },
- "terminal": {
- "type": "boolean"
- }
-}