Skip to main content
Glama

Influence

Read AI plan

campaignPlanGet
Read-onlyIdempotent

Returns an owned AI plan, its exact version, conversation, saved image ideas, current planning job and available/reserved AI credits. Image job access depends on the current connection permissions and visible tools.

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": {
      "planPublicId": "<planPublicId>"
    },
    "name": "campaignPlanGet"
  }
}

Input Schema

NameRequiredDescriptionDefault
planPublicIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / $defs / __schema0 / minimum
      Previous value: --9007199254740991New value: +0
    • changedOutput schema / $defs / __schema36 / properties / input / properties / scheduledFor / minimum
      Previous value: --9007199254740991New value: +0
  2. Changed77 schema fields changed
    • removedOutput schema / $defs / __schema32 / properties / accountPublicId
      Removed value: -{
      -  "$ref": "#/$defs/__schema33"
      -}
    • addedOutput schema / $defs / __schema32 / properties / childPlacement
      Added value: +{
      +  "$ref": "#/$defs/__schema33"
      +}
    • addedOutput schema / $defs / __schema32 / properties / connectionPublicId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • removedOutput schema / $defs / __schema32 / properties / contactPublicIds
      Removed value: -{
      -  "items": {
      -    "$ref": "#/$defs/__schema33"
      -  },
      -  "maxItems": 100,
      -  "type": "array"
      -}
    • removedOutput schema / $defs / __schema32 / properties / message
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 4096,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "text",
      -          "type": "string"
      -        },
      -        "previewUrl": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "caption": {
      -          "maxLength": 1024,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "image",
      -          "type": "string"
      -        },
      -        "mediaId": {
      -          "maxLength": 32,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "mediaId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "caption": {
      -          "maxLength": 1024,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "video",
      -          "type": "string"
      -        },
      -        "mediaId": {
      -          "maxLength": 32,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "mediaId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "caption": {
      -          "maxLength": 1024,
      -          "type": "string"
      -        },
      -        "filename": {
      -          "maxLength": 240,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "document",
      -          "type": "string"
      -        },
      -        "mediaId": {
      -          "maxLength": 32,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "mediaId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "kind": {
      -          "const": "audio",
      -          "type": "string"
      -        },
      -        "mediaId": {
      -          "$ref": "#/$defs/__schema34"
      -        },
      -        "voice": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "mediaId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "kind": {
      -          "const": "sticker",
      -          "type": "string"
      -        },
      -        "mediaId": {
      -          "$ref": "#/$defs/__schema34"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "mediaId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "components": {
      -          "items": {
      -            "$ref": "#/$defs/__schema35"
      -          },
      -          "maxItems": 12,
      -          "type": "array"
      -        },
      -        "kind": {
      -          "const": "template",
      -          "type": "string"
      -        },
      -        "language": {
      -          "maxLength": 20,
      -          "type": "string"
      -        },
      -        "name": {
      -          "maxLength": 512,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "language",
      -        "name"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "type": "string"
      -        },
      -        "buttons": {
      -          "items": {
      -            "$ref": "#/$defs/__schema37"
      -          },
      -          "maxItems": 3,
      -          "type": "array"
      -        },
      -        "kind": {
      -          "const": "buttons",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "buttons",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "button": {
      -          "maxLength": 20,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "list",
      -          "type": "string"
      -        },
      -        "sections": {
      -          "items": {
      -            "$ref": "#/$defs/__schema38"
      -          },
      -          "maxItems": 10,
      -          "minItems": 1,
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "button",
      -        "kind",
      -        "sections"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "urlButton",
      -          "type": "string"
      -        },
      -        "label": {
      -          "maxLength": 20,
      -          "type": "string"
      -        },
      -        "url": {
      -          "maxLength": 2048,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "kind",
      -        "label",
      -        "url"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "cards": {
      -          "items": {
      -            "$ref": "#/$defs/__schema40"
      -          },
      -          "maxItems": 10,
      -          "minItems": 2,
      -          "type": "array"
      -        },
      -        "kind": {
      -          "const": "mediaCarousel",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "cards",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "address": {
      -          "maxLength": 1000,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "location",
      -          "type": "string"
      -        },
      -        "latitude": {
      -          "anyOf": [
      -            {
      -              "maximum": 90,
      -              "minimum": -90,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "longitude": {
      -          "anyOf": [
      -            {
      -              "maximum": 180,
      -              "minimum": -180,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "name": {
      -          "maxLength": 1000,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "kind",
      -        "latitude",
      -        "longitude"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "locationRequest",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "contacts": {
      -          "items": {
      -            "$ref": "#/$defs/__schema41"
      -          },
      -          "maxItems": 20,
      -          "minItems": 1,
      -          "type": "array"
      -        },
      -        "kind": {
      -          "const": "contacts",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "contacts",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "button": {
      -          "maxLength": 30,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "flowId": {
      -          "$ref": "#/$defs/__schema34"
      -        },
      -        "flowToken": {
      -          "maxLength": 256,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "flow",
      -          "type": "string"
      -        },
      -        "screen": {
      -          "maxLength": 128,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "button",
      -        "flowId",
      -        "flowToken",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "catalog",
      -          "type": "string"
      -        },
      -        "thumbnailProductId": {
      -          "maxLength": 100,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "kind"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "catalogId": {
      -          "$ref": "#/$defs/__schema34"
      -        },
      -        "kind": {
      -          "const": "product",
      -          "type": "string"
      -        },
      -        "productId": {
      -          "maxLength": 100,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "catalogId",
      -        "kind",
      -        "productId"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "body": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "catalogId": {
      -          "$ref": "#/$defs/__schema34"
      -        },
      -        "header": {
      -          "maxLength": 60,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "products",
      -          "type": "string"
      -        },
      -        "sections": {
      -          "items": {
      -            "$ref": "#/$defs/__schema44"
      -          },
      -          "maxItems": 10,
      -          "minItems": 1,
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "body",
      -        "catalogId",
      -        "header",
      -        "kind",
      -        "sections"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "emoji": {
      -          "maxLength": 16,
      -          "type": "string"
      -        },
      -        "kind": {
      -          "const": "reaction",
      -          "type": "string"
      -        },
      -        "messageId": {
      -          "maxLength": 2048,
      -          "pattern": "^wamid\\.[A-Za-z0-9_+=/-]+$",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "emoji",
      -        "kind",
      -        "messageId"
      -      ],
      -      "type": "object"
      -    }
      -  ]
      -}
    • addedOutput schema / $defs / __schema32 / properties / providerKey
      Added value: +{
      +  "$ref": "#/$defs/__schema35"
      +}
    • removedOutput schema / $defs / __schema32 / properties / publicId
      Removed value: -{
      -  "$ref": "#/$defs/__schema33"
      -}
    • removedOutput schema / $defs / __schema32 / properties / replyTo
      Removed value: -{
      -  "maxLength": 2048,
      -  "type": "string"
      -}
    • addedOutput schema / $defs / __schema32 / properties / settings
      Added value: +{
      +  "$ref": "#/$defs/__schema29"
      +}
    • changedOutput schema / $defs / __schema32 / required
      Previous value: -[
      -  "accountPublicId",
      -  "contactPublicIds",
      -  "message"
      -]New value: +[
      +  "childPlacement",
      +  "connectionPublicId",
      +  "providerKey",
      +  "settings"
      +]
    • addedOutput schema / $defs / __schema33 / enum
      Added value: +[
      +  "all",
      +  "post",
      +  "comment"
      +]
    • removedOutput schema / $defs / __schema33 / maxLength
      Removed value: -128
    • removedOutput schema / $defs / __schema33 / minLength
      Removed value: -1
    • addedOutput schema / $defs / __schema34 / maxLength
      Added value: +128
    • addedOutput schema / $defs / __schema34 / minLength
      Added value: +1
    • removedOutput schema / $defs / __schema34 / pattern
      Removed value: -"^[1-9][0-9]{0,31}$"
    • removedOutput schema / $defs / __schema35 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "parameters": {
      -        "items": {
      -          "$ref": "#/$defs/__schema36"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "type": {
      -        "const": "header",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "parameters",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "parameters": {
      -        "items": {
      -          "$ref": "#/$defs/__schema36"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "type": {
      -        "const": "body",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "parameters",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "index": {
      -        "maximum": 9,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "text": {
      -        "maxLength": 1024,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "urlButton",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "index",
      -      "text",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "index": {
      -        "maximum": 9,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "payload": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "quickReply",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "index",
      -      "payload",
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / $defs / __schema35 / description
      Added value: +"Provider identifier returned by the account's integrations or integrationSchema. Availability is checked for the current account."
    • addedOutput schema / $defs / __schema35 / type
      Added value: +"string"
    • addedOutput schema / $defs / __schema36 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / __schema36 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "text": {
      -        "maxLength": 1024,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "text",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "text",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mediaId": {
      -        "maxLength": 32,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "image",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mediaId",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mediaId": {
      -        "maxLength": 32,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "video",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mediaId",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "filename": {
      -        "maxLength": 240,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "mediaId": {
      -        "maxLength": 32,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "document",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mediaId",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "amount1000": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "code": {
      -        "pattern": "^[A-Z]{3}$",
      -        "type": "string"
      -      },
      -      "fallback": {
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "currency",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "amount1000",
      -      "code",
      -      "fallback",
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fallback": {
      -        "maxLength": 128,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "dateTime",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "fallback",
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / $defs / __schema36 / properties
      Added value: +{
      +  "input": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "expectedVersion": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "mode": {
      +        "enum": [
      +          "draft",
      +          "publish_now",
      +          "schedule"
      +        ],
      +        "type": "string"
      +      },
      +      "publicId": {
      +        "$ref": "#/$defs/__schema34"
      +      },
      +      "scheduledFor": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "source": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "items": {
      +            "items": {
      +              "$ref": "#/$defs/__schema37"
      +            },
      +            "maxItems": 100,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "items"
      +        ],
      +        "type": "object"
      +      },
      +      "targets": {
      +        "items": {
      +          "$ref": "#/$defs/__schema39"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "timezone": {
      +        "maxLength": 100,
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 200,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "expectedVersion",
      +      "mode",
      +      "source",
      +      "targets",
      +      "timezone",
      +      "title"
      +    ],
      +    "type": "object"
      +  },
      +  "publicId": {
      +    "$ref": "#/$defs/__schema2"
      +  }
      +}
    • addedOutput schema / $defs / __schema36 / required
      Added value: +[
      +  "input",
      +  "publicId"
      +]
    • addedOutput schema / $defs / __schema36 / type
      Added value: +"object"
    • addedOutput schema / $defs / __schema37 / properties / delayMinutes
      Added value: +{
      +  "maximum": 10080,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • removedOutput schema / $defs / __schema37 / properties / id
      Removed value: -{
      -  "maxLength": 256,
      -  "type": "string"
      -}
    • addedOutput schema / $defs / __schema37 / properties / media
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/__schema38"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedOutput schema / $defs / __schema37 / properties / order
      Added value: +{
      +  "maximum": 99,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / __schema37 / properties / publicId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • addedOutput schema / $defs / __schema37 / properties / role
      Added value: +{
      +  "enum": [
      +    "main",
      +    "first_comment",
      +    "thread"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / $defs / __schema37 / properties / text
      Added value: +{
      +  "maxLength": 126414,
      +  "type": "string"
      +}
    • removedOutput schema / $defs / __schema37 / properties / title
      Removed value: -{
      -  "maxLength": 20,
      -  "type": "string"
      -}
    • changedOutput schema / $defs / __schema37 / required
      Previous value: -[
      -  "id",
      -  "title"
      -]New value: +[
      +  "delayMinutes",
      +  "media",
      +  "order",
      +  "publicId",
      +  "role",
      +  "text"
      +]
    • addedOutput schema / $defs / __schema38 / properties / altText
      Added value: +{
      +  "maxLength": 2000,
      +  "type": "string"
      +}
    • addedOutput schema / $defs / __schema38 / properties / assetId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • addedOutput schema / $defs / __schema38 / properties / contentType
      Added value: +{
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / $defs / __schema38 / properties / durationSeconds
      Added value: +{
      +  "maximum": 604800,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / $defs / __schema38 / properties / height
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 100000,
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / __schema38 / properties / kind
      Added value: +{
      +  "enum": [
      +    "image",
      +    "video"
      +  ],
      +  "type": "string"
      +}
    • removedOutput schema / $defs / __schema38 / properties / rows
      Removed value: -{
      -  "items": {
      -    "$ref": "#/$defs/__schema39"
      -  },
      -  "maxItems": 10,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • addedOutput schema / $defs / __schema38 / properties / sizeBytes
      Added value: +{
      +  "maximum": 10737418240,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / __schema38 / properties / thumbnailAssetId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • removedOutput schema / $defs / __schema38 / properties / title
      Removed value: -{
      -  "maxLength": 24,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedOutput schema / $defs / __schema38 / properties / width
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 100000,
      +  "type": "integer"
      +}
    • changedOutput schema / $defs / __schema38 / required
      Previous value: -[
      -  "rows"
      -]New value: +[
      +  "assetId",
      +  "contentType",
      +  "kind",
      +  "sizeBytes"
      +]
    • addedOutput schema / $defs / __schema39 / properties / childPlacement
      Added value: +{
      +  "$ref": "#/$defs/__schema33"
      +}
    • addedOutput schema / $defs / __schema39 / properties / connectionPublicId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • removedOutput schema / $defs / __schema39 / properties / description
      Removed value: -{
      -  "maxLength": 72,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema39 / properties / id
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedOutput schema / $defs / __schema39 / properties / items
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/__schema37"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • addedOutput schema / $defs / __schema39 / properties / providerKey
      Added value: +{
      +  "$ref": "#/$defs/__schema35"
      +}
    • addedOutput schema / $defs / __schema39 / properties / publicId
      Added value: +{
      +  "$ref": "#/$defs/__schema34"
      +}
    • addedOutput schema / $defs / __schema39 / properties / settings
      Added value: +{
      +  "$ref": "#/$defs/__schema29"
      +}
    • removedOutput schema / $defs / __schema39 / properties / title
      Removed value: -{
      -  "maxLength": 24,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedOutput schema / $defs / __schema39 / required
      Previous value: -[
      -  "id",
      -  "title"
      -]New value: +[
      +  "childPlacement",
      +  "connectionPublicId",
      +  "items",
      +  "providerKey",
      +  "settings"
      +]
    • removedOutput schema / $defs / __schema40 / properties / body
      Removed value: -{
      -  "maxLength": 160,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedOutput schema / $defs / __schema40 / properties / campaignPublicId
      Added value: +{
      +  "$ref": "#/$defs/__schema1"
      +}
    • addedOutput schema / $defs / __schema40 / properties / groupPublicId
      Added value: +{
      +  "$ref": "#/$defs/__schema1"
      +}
    • removedOutput schema / $defs / __schema40 / properties / label
      Removed value: -{
      -  "maxLength": 20,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema40 / properties / mediaId
      Removed value: -{
      -  "$ref": "#/$defs/__schema34"
      -}
    • removedOutput schema / $defs / __schema40 / properties / mediaType
      Removed value: -{
      -  "enum": [
      -    "image",
      -    "video"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema40 / properties / url
      Removed value: -{
      -  "format": "uri",
      -  "maxLength": 2048,
      -  "type": "string"
      -}
    • changedOutput schema / $defs / __schema40 / required
      Previous value: -[
      -  "label",
      -  "mediaId",
      -  "mediaType",
      -  "url"
      -]New value: +[
      +  "campaignPublicId",
      +  "groupPublicId"
      +]
    • removedOutput schema / $defs / __schema41
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "emails": {
      -      "items": {
      -        "$ref": "#/$defs/__schema42"
      -      },
      -      "maxItems": 20,
      -      "type": "array"
      -    },
      -    "name": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "firstName": {
      -          "maxLength": 128,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "formattedName": {
      -          "maxLength": 256,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "lastName": {
      -          "maxLength": 128,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "middleName": {
      -          "maxLength": 128,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "prefix": {
      -          "maxLength": 64,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "suffix": {
      -          "maxLength": 64,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "formattedName"
      -      ],
      -      "type": "object"
      -    },
      -    "organization": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "company": {
      -          "maxLength": 256,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "department": {
      -          "maxLength": 256,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "title": {
      -          "maxLength": 256,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "phones": {
      -      "items": {
      -        "$ref": "#/$defs/__schema43"
      -      },
      -      "maxItems": 20,
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "name"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema42
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "email": {
      -      "format": "email",
      -      "maxLength": 320,
      -      "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      -      "type": "string"
      -    },
      -    "type": {
      -      "enum": [
      -        "HOME",
      -        "WORK"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "email"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema43
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "phone": {
      -      "maxLength": 32,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "type": {
      -      "enum": [
      -        "CELL",
      -        "MAIN",
      -        "IPHONE",
      -        "HOME",
      -        "WORK"
      -      ],
      -      "type": "string"
      -    },
      -    "waId": {
      -      "maxLength": 32,
      -      "minLength": 1,
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema44
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "productIds": {
      -      "items": {
      -        "$ref": "#/$defs/__schema45"
      -      },
      -      "maxItems": 30,
      -      "minItems": 1,
      -      "type": "array"
      -    },
      -    "title": {
      -      "maxLength": 24,
      -      "minLength": 1,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "productIds",
      -    "title"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema45
      Removed value: -{
      -  "maxLength": 100,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema46
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "childPlacement": {
      -      "$ref": "#/$defs/__schema47"
      -    },
      -    "connectionPublicId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "providerKey": {
      -      "$ref": "#/$defs/__schema48"
      -    },
      -    "settings": {
      -      "$ref": "#/$defs/__schema29"
      -    }
      -  },
      -  "required": [
      -    "childPlacement",
      -    "connectionPublicId",
      -    "providerKey",
      -    "settings"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema47
      Removed value: -{
      -  "enum": [
      -    "all",
      -    "post",
      -    "comment"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema48
      Removed value: -{
      -  "description": "Provider identifier returned by the account's integrations or integrationSchema. Availability is checked for the current account.",
      -  "type": "string"
      -}
    • removedOutput schema / $defs / __schema49
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "input": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "expectedVersion": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "mode": {
      -          "enum": [
      -            "draft",
      -            "publish_now",
      -            "schedule"
      -          ],
      -          "type": "string"
      -        },
      -        "publicId": {
      -          "$ref": "#/$defs/__schema33"
      -        },
      -        "scheduledFor": {
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        },
      -        "source": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "items": {
      -              "items": {
      -                "$ref": "#/$defs/__schema50"
      -              },
      -              "maxItems": 100,
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "items"
      -          ],
      -          "type": "object"
      -        },
      -        "targets": {
      -          "items": {
      -            "$ref": "#/$defs/__schema52"
      -          },
      -          "maxItems": 50,
      -          "type": "array"
      -        },
      -        "timezone": {
      -          "maxLength": 100,
      -          "type": "string"
      -        },
      -        "title": {
      -          "maxLength": 200,
      -          "type": "string"
      -        },
      -        "whatsAppTargets": {
      -          "items": {
      -            "$ref": "#/$defs/__schema32"
      -          },
      -          "maxItems": 50,
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "expectedVersion",
      -        "mode",
      -        "source",
      -        "targets",
      -        "timezone",
      -        "title"
      -      ],
      -      "type": "object"
      -    },
      -    "publicId": {
      -      "$ref": "#/$defs/__schema2"
      -    }
      -  },
      -  "required": [
      -    "input",
      -    "publicId"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema50
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "delayMinutes": {
      -      "maximum": 10080,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "media": {
      -      "items": {
      -        "$ref": "#/$defs/__schema51"
      -      },
      -      "maxItems": 20,
      -      "type": "array"
      -    },
      -    "order": {
      -      "maximum": 99,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "publicId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "role": {
      -      "enum": [
      -        "main",
      -        "first_comment",
      -        "thread"
      -      ],
      -      "type": "string"
      -    },
      -    "text": {
      -      "maxLength": 126414,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "delayMinutes",
      -    "media",
      -    "order",
      -    "publicId",
      -    "role",
      -    "text"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema51
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "altText": {
      -      "maxLength": 2000,
      -      "type": "string"
      -    },
      -    "assetId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "contentType": {
      -      "maxLength": 255,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "durationSeconds": {
      -      "maximum": 604800,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "height": {
      -      "exclusiveMinimum": 0,
      -      "maximum": 100000,
      -      "type": "integer"
      -    },
      -    "kind": {
      -      "enum": [
      -        "image",
      -        "video"
      -      ],
      -      "type": "string"
      -    },
      -    "sizeBytes": {
      -      "maximum": 10737418240,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "thumbnailAssetId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "width": {
      -      "exclusiveMinimum": 0,
      -      "maximum": 100000,
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "assetId",
      -    "contentType",
      -    "kind",
      -    "sizeBytes"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema52
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "childPlacement": {
      -      "$ref": "#/$defs/__schema47"
      -    },
      -    "connectionPublicId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "items": {
      -      "items": {
      -        "$ref": "#/$defs/__schema50"
      -      },
      -      "maxItems": 100,
      -      "type": "array"
      -    },
      -    "providerKey": {
      -      "$ref": "#/$defs/__schema48"
      -    },
      -    "publicId": {
      -      "$ref": "#/$defs/__schema33"
      -    },
      -    "settings": {
      -      "$ref": "#/$defs/__schema29"
      -    }
      -  },
      -  "required": [
      -    "childPlacement",
      -    "connectionPublicId",
      -    "items",
      -    "providerKey",
      -    "settings"
      -  ],
      -  "type": "object"
      -}
    • removedOutput schema / $defs / __schema53
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "campaignPublicId": {
      -      "$ref": "#/$defs/__schema1"
      -    },
      -    "groupPublicId": {
      -      "$ref": "#/$defs/__schema1"
      -    }
      -  },
      -  "required": [
      -    "campaignPublicId",
      -    "groupPublicId"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "availableCredits": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "enabled": {
      -            "type": "boolean"
      -          },
      -          "generationCreditHold": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "imageGenerationEnabled": {
      -            "type": "boolean"
      -          },
      -          "latestRun": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "createdAt": {
      -                    "$ref": "#/$defs/__schema0"
      -                  },
      -                  "deadline": {
      -                    "$ref": "#/$defs/__schema0"
      -                  },
      -                  "errorCode": {
      -                    "maxLength": 128,
      -                    "type": "string"
      -                  },
      -                  "planPublicId": {
      -                    "$ref": "#/$defs/__schema1"
      -                  },
      -                  "publicId": {
      -                    "$ref": "#/$defs/__schema1"
      -                  },
      -                  "status": {
      -                    "enum": [
      -                      "queued",
      -                      "running",
      -                      "completed",
      -                      "failed",
      -                      "canceled"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "createdAt",
      -                  "deadline",
      -                  "planPublicId",
      -                  "publicId",
      -                  "status"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "reservedCredits": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "selected": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "aiSchedulingAllowance": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "limit": {
      -                    "anyOf": [
      -                      {
      -                        "exclusiveMinimum": 0,
      -                        "maximum": 9007199254740991,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "nextAvailableAt": {
      -                    "anyOf": [
      -                      {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "remaining": {
      -                    "anyOf": [
      -                      {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "limit",
      -                  "nextAvailableAt",
      -                  "remaining"
      -                ],
      -                "type": "object"
      -              },
      -              "context": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "brandProfileRevisionPublicId": {
      -                        "anyOf": [
      -                          {
      -                            "$ref": "#/$defs/__schema2"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "brandProfileSha256": {
      -                        "anyOf": [
      -                          {
      -                            "maxLength": 128,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "companyIdentity": {
      -                        "maxLength": 2048,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      },
      -                      "guidelines": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "approvedClaims": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "companyDescription": {
      -                            "$ref": "#/$defs/__schema5"
      -                          },
      -                          "companyName": {
      -                            "$ref": "#/$defs/__schema6"
      -                          },
      -                          "examples": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "preferences": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "voiceRules": {
      -                            "$ref": "#/$defs/__schema3"
      -                          }
      -                        },
      -                        "required": [
      -                          "approvedClaims",
      -                          "companyDescription",
      -                          "companyName",
      -                          "examples",
      -                          "preferences",
      -                          "voiceRules"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "guidelinesVersion": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "brandProfileRevisionPublicId",
      -                      "brandProfileSha256",
      -                      "companyIdentity",
      -                      "guidelines",
      -                      "guidelinesVersion"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "contextStale": {
      -                "type": "boolean"
      -              },
      -              "conversation": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema7"
      -                },
      -                "maxItems": 40,
      -                "type": "array"
      -              },
      -              "conversationMediaAssetIds": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema1"
      -                },
      -                "maxItems": 6,
      -                "type": "array"
      -              },
      -              "conversationTargets": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema28"
      -                },
      -                "maxItems": 24,
      -                "type": "array"
      -              },
      -              "conversationWhatsAppTargets": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema32"
      -                },
      -                "maxItems": 24,
      -                "type": "array"
      -              },
      -              "document": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "brief": {
      -                        "maxLength": 4000,
      -                        "type": "string"
      -                      },
      -                      "defaultTargets": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema46"
      -                        },
      -                        "maxItems": 24,
      -                        "type": "array"
      -                      },
      -                      "defaultWhatsAppTargets": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema32"
      -                        },
      -                        "maxItems": 24,
      -                        "type": "array"
      -                      },
      -                      "groups": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema49"
      -                        },
      -                        "maxItems": 12,
      -                        "minItems": 1,
      -                        "type": "array"
      -                      },
      -                      "timezone": {
      -                        "maxLength": 100,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "brief",
      -                      "groups",
      -                      "timezone"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "preferences": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "composition": {
      -                    "enum": [
      -                      "post",
      -                      "campaign"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "optimizePerDestination": {
      -                    "type": "boolean"
      -                  },
      -                  "useBrandContext": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "composition",
      -                  "optimizePerDestination",
      -                  "useBrandContext"
      -                ],
      -                "type": "object"
      -              },
      -              "publicId": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "receipt": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "approvedAt": {
      -                        "$ref": "#/$defs/__schema0"
      -                      },
      -                      "campaigns": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema53"
      -                        },
      -                        "maxItems": 12,
      -                        "type": "array"
      -                      }
      -                    },
      -                    "required": [
      -                      "approvedAt",
      -                      "campaigns"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "status": {
      -                "enum": [
      -                  "draft",
      -                  "approved"
      -                ],
      -                "type": "string"
      -              },
      -              "title": {
      -                "maxLength": 200,
      -                "type": "string"
      -              },
      -              "version": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "context",
      -              "contextStale",
      -              "document",
      -              "preferences",
      -              "publicId",
      -              "receipt",
      -              "status",
      -              "title",
      -              "version"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "availableCredits",
      -          "enabled",
      -          "generationCreditHold",
      -          "imageGenerationEnabled",
      -          "latestRun",
      -          "reservedCredits",
      -          "selected"
      -        ],
      -        "type": "object"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "AI_SCHEDULING_LIMIT_REACHED",
      -              "AI_SCHEDULING_UNAVAILABLE",
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "availableCredits": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "enabled": {
      +            "type": "boolean"
      +          },
      +          "generationCreditHold": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "imageGenerationEnabled": {
      +            "type": "boolean"
      +          },
      +          "latestRun": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "createdAt": {
      +                    "$ref": "#/$defs/__schema0"
      +                  },
      +                  "deadline": {
      +                    "$ref": "#/$defs/__schema0"
      +                  },
      +                  "errorCode": {
      +                    "maxLength": 128,
      +                    "type": "string"
      +                  },
      +                  "planPublicId": {
      +                    "$ref": "#/$defs/__schema1"
      +                  },
      +                  "publicId": {
      +                    "$ref": "#/$defs/__schema1"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "queued",
      +                      "running",
      +                      "completed",
      +                      "failed",
      +                      "canceled"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "createdAt",
      +                  "deadline",
      +                  "planPublicId",
      +                  "publicId",
      +                  "status"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "reservedCredits": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "selected": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "aiSchedulingAllowance": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "limit": {
      +                    "anyOf": [
      +                      {
      +                        "exclusiveMinimum": 0,
      +                        "maximum": 9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "nextAvailableAt": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "remaining": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "limit",
      +                  "nextAvailableAt",
      +                  "remaining"
      +                ],
      +                "type": "object"
      +              },
      +              "context": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "brandProfileRevisionPublicId": {
      +                        "anyOf": [
      +                          {
      +                            "$ref": "#/$defs/__schema2"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "brandProfileSha256": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 128,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "companyIdentity": {
      +                        "maxLength": 2048,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "guidelines": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "approvedClaims": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "companyDescription": {
      +                            "$ref": "#/$defs/__schema5"
      +                          },
      +                          "companyName": {
      +                            "$ref": "#/$defs/__schema6"
      +                          },
      +                          "examples": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "preferences": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "voiceRules": {
      +                            "$ref": "#/$defs/__schema3"
      +                          }
      +                        },
      +                        "required": [
      +                          "approvedClaims",
      +                          "companyDescription",
      +                          "companyName",
      +                          "examples",
      +                          "preferences",
      +                          "voiceRules"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "guidelinesVersion": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "brandProfileRevisionPublicId",
      +                      "brandProfileSha256",
      +                      "companyIdentity",
      +                      "guidelines",
      +                      "guidelinesVersion"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "contextStale": {
      +                "type": "boolean"
      +              },
      +              "conversation": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema7"
      +                },
      +                "maxItems": 40,
      +                "type": "array"
      +              },
      +              "conversationMediaAssetIds": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema1"
      +                },
      +                "maxItems": 6,
      +                "type": "array"
      +              },
      +              "conversationTargets": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema28"
      +                },
      +                "maxItems": 24,
      +                "type": "array"
      +              },
      +              "document": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "brief": {
      +                        "maxLength": 4000,
      +                        "type": "string"
      +                      },
      +                      "defaultTargets": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema32"
      +                        },
      +                        "maxItems": 24,
      +                        "type": "array"
      +                      },
      +                      "groups": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema36"
      +                        },
      +                        "maxItems": 12,
      +                        "minItems": 1,
      +                        "type": "array"
      +                      },
      +                      "timezone": {
      +                        "maxLength": 100,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "brief",
      +                      "groups",
      +                      "timezone"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "preferences": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "composition": {
      +                    "enum": [
      +                      "post",
      +                      "campaign"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "optimizePerDestination": {
      +                    "type": "boolean"
      +                  },
      +                  "useBrandContext": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "composition",
      +                  "optimizePerDestination",
      +                  "useBrandContext"
      +                ],
      +                "type": "object"
      +              },
      +              "publicId": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "receipt": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "approvedAt": {
      +                        "$ref": "#/$defs/__schema0"
      +                      },
      +                      "campaigns": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema40"
      +                        },
      +                        "maxItems": 12,
      +                        "type": "array"
      +                      }
      +                    },
      +                    "required": [
      +                      "approvedAt",
      +                      "campaigns"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "status": {
      +                "enum": [
      +                  "draft",
      +                  "approved"
      +                ],
      +                "type": "string"
      +              },
      +              "title": {
      +                "maxLength": 200,
      +                "type": "string"
      +              },
      +              "version": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "context",
      +              "contextStale",
      +              "document",
      +              "preferences",
      +              "publicId",
      +              "receipt",
      +              "status",
      +              "title",
      +              "version"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "availableCredits",
      +          "enabled",
      +          "generationCreditHold",
      +          "imageGenerationEnabled",
      +          "latestRun",
      +          "reservedCredits",
      +          "selected"
      +        ],
      +        "type": "object"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "AI_SCHEDULING_LIMIT_REACHED",
      +              "AI_SCHEDULING_UNAVAILABLE",
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed6 schema fields changed
    • addedOutput schema / $defs / __schema22 / description
      Added value: +"Provider identifier returned by the account's integrations or integrationSchema. Availability is checked for the current account."
    • removedOutput schema / $defs / __schema22 / enum
      Removed value: -[
      -  "bluesky",
      -  "devto",
      -  "discord",
      -  "discourse",
      -  "facebook",
      -  "ghost",
      -  "hashnode",
      -  "instagram-standalone",
      -  "linkedin",
      -  "linkedin-page",
      -  "listmonk",
      -  "mastodon",
      -  "matrix",
      -  "mattermost",
      -  "misskey",
      -  "nostr",
      -  "peertube",
      -  "pinterest",
      -  "pixelfed",
      -  "plurk",
      -  "slack",
      -  "teams",
      -  "telegram",
      -  "threads",
      -  "tiktok",
      -  "tumblr",
      -  "twitch",
      -  "wordpress",
      -  "wrapcast",
      -  "x",
      -  "youtube"
      -]
    • addedOutput schema / $defs / __schema28 / properties / providerKey / description
      Added value: +"Provider identifier returned by the account's integrations or integrationSchema. Availability is checked for the current account."
    • removedOutput schema / $defs / __schema28 / properties / providerKey / enum
      Removed value: -[
      -  "x",
      -  "linkedin",
      -  "linkedin-page",
      -  "reddit",
      -  "instagram",
      -  "instagram-standalone",
      -  "facebook",
      -  "threads",
      -  "youtube",
      -  "gmb",
      -  "tiktok",
      -  "pinterest",
      -  "dribbble",
      -  "discord",
      -  "slack",
      -  "kick",
      -  "twitch",
      -  "mastodon",
      -  "bluesky",
      -  "lemmy",
      -  "wrapcast",
      -  "telegram",
      -  "signal",
      -  "nostr",
      -  "vk",
      -  "devto",
      -  "hashnode",
      -  "wordpress",
      -  "ghost",
      -  "discourse",
      -  "listmonk",
      -  "moltbook",
      -  "whop",
      -  "mewe",
      -  "tumblr",
      -  "pixelfed",
      -  "plurk",
      -  "misskey",
      -  "mattermost",
      -  "matrix",
      -  "teams",
      -  "peertube"
      -]
    • addedOutput schema / $defs / __schema48 / description
      Added value: +"Provider identifier returned by the account's integrations or integrationSchema. Availability is checked for the current account."
    • removedOutput schema / $defs / __schema48 / enum
      Removed value: -[
      -  "x",
      -  "linkedin",
      -  "linkedin-page",
      -  "reddit",
      -  "instagram",
      -  "instagram-standalone",
      -  "facebook",
      -  "threads",
      -  "youtube",
      -  "gmb",
      -  "tiktok",
      -  "pinterest",
      -  "dribbble",
      -  "discord",
      -  "slack",
      -  "kick",
      -  "twitch",
      -  "mastodon",
      -  "bluesky",
      -  "lemmy",
      -  "wrapcast",
      -  "telegram",
      -  "signal",
      -  "nostr",
      -  "vk",
      -  "devto",
      -  "hashnode",
      -  "wordpress",
      -  "ghost",
      -  "discourse",
      -  "listmonk",
      -  "moltbook",
      -  "whop",
      -  "mewe",
      -  "tumblr",
      -  "pixelfed",
      -  "plurk",
      -  "misskey",
      -  "mattermost",
      -  "matrix",
      -  "teams",
      -  "peertube"
      -]
  4. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "availableCredits": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "enabled": {
      -            "type": "boolean"
      -          },
      -          "generationCreditHold": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "imageGenerationEnabled": {
      -            "type": "boolean"
      -          },
      -          "latestRun": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "createdAt": {
      -                    "$ref": "#/$defs/__schema0"
      -                  },
      -                  "deadline": {
      -                    "$ref": "#/$defs/__schema0"
      -                  },
      -                  "errorCode": {
      -                    "maxLength": 128,
      -                    "type": "string"
      -                  },
      -                  "planPublicId": {
      -                    "$ref": "#/$defs/__schema1"
      -                  },
      -                  "publicId": {
      -                    "$ref": "#/$defs/__schema1"
      -                  },
      -                  "status": {
      -                    "enum": [
      -                      "queued",
      -                      "running",
      -                      "completed",
      -                      "failed",
      -                      "canceled"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "createdAt",
      -                  "deadline",
      -                  "planPublicId",
      -                  "publicId",
      -                  "status"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "reservedCredits": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "selected": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "context": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "brandProfileRevisionPublicId": {
      -                        "anyOf": [
      -                          {
      -                            "$ref": "#/$defs/__schema2"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "brandProfileSha256": {
      -                        "anyOf": [
      -                          {
      -                            "maxLength": 128,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "companyIdentity": {
      -                        "maxLength": 2048,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      },
      -                      "guidelines": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "approvedClaims": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "companyDescription": {
      -                            "$ref": "#/$defs/__schema5"
      -                          },
      -                          "companyName": {
      -                            "$ref": "#/$defs/__schema6"
      -                          },
      -                          "examples": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "preferences": {
      -                            "$ref": "#/$defs/__schema3"
      -                          },
      -                          "voiceRules": {
      -                            "$ref": "#/$defs/__schema3"
      -                          }
      -                        },
      -                        "required": [
      -                          "approvedClaims",
      -                          "companyDescription",
      -                          "companyName",
      -                          "examples",
      -                          "preferences",
      -                          "voiceRules"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "guidelinesVersion": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "brandProfileRevisionPublicId",
      -                      "brandProfileSha256",
      -                      "companyIdentity",
      -                      "guidelines",
      -                      "guidelinesVersion"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "contextStale": {
      -                "type": "boolean"
      -              },
      -              "conversation": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema7"
      -                },
      -                "maxItems": 40,
      -                "type": "array"
      -              },
      -              "conversationMediaAssetIds": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema1"
      -                },
      -                "maxItems": 6,
      -                "type": "array"
      -              },
      -              "conversationTargets": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema28"
      -                },
      -                "maxItems": 24,
      -                "type": "array"
      -              },
      -              "conversationWhatsAppTargets": {
      -                "items": {
      -                  "$ref": "#/$defs/__schema32"
      -                },
      -                "maxItems": 24,
      -                "type": "array"
      -              },
      -              "document": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "brief": {
      -                        "maxLength": 4000,
      -                        "type": "string"
      -                      },
      -                      "defaultTargets": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema46"
      -                        },
      -                        "maxItems": 24,
      -                        "type": "array"
      -                      },
      -                      "defaultWhatsAppTargets": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema32"
      -                        },
      -                        "maxItems": 24,
      -                        "type": "array"
      -                      },
      -                      "groups": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema49"
      -                        },
      -                        "maxItems": 12,
      -                        "minItems": 1,
      -                        "type": "array"
      -                      },
      -                      "timezone": {
      -                        "maxLength": 100,
      -                        "minLength": 1,
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "brief",
      -                      "groups",
      -                      "timezone"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "preferences": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "composition": {
      -                    "enum": [
      -                      "post",
      -                      "campaign"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  "optimizePerDestination": {
      -                    "type": "boolean"
      -                  },
      -                  "useBrandContext": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "composition",
      -                  "optimizePerDestination",
      -                  "useBrandContext"
      -                ],
      -                "type": "object"
      -              },
      -              "publicId": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "receipt": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "approvedAt": {
      -                        "$ref": "#/$defs/__schema0"
      -                      },
      -                      "campaigns": {
      -                        "items": {
      -                          "$ref": "#/$defs/__schema53"
      -                        },
      -                        "maxItems": 12,
      -                        "type": "array"
      -                      }
      -                    },
      -                    "required": [
      -                      "approvedAt",
      -                      "campaigns"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "status": {
      -                "enum": [
      -                  "draft",
      -                  "approved"
      -                ],
      -                "type": "string"
      -              },
      -              "title": {
      -                "maxLength": 200,
      -                "type": "string"
      -              },
      -              "version": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "context",
      -              "contextStale",
      -              "document",
      -              "preferences",
      -              "publicId",
      -              "receipt",
      -              "status",
      -              "title",
      -              "version"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "availableCredits",
      -          "enabled",
      -          "generationCreditHold",
      -          "imageGenerationEnabled",
      -          "latestRun",
      -          "reservedCredits",
      -          "selected"
      -        ],
      -        "type": "object"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "campaignPlanGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "availableCredits": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "enabled": {
      +            "type": "boolean"
      +          },
      +          "generationCreditHold": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "imageGenerationEnabled": {
      +            "type": "boolean"
      +          },
      +          "latestRun": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "createdAt": {
      +                    "$ref": "#/$defs/__schema0"
      +                  },
      +                  "deadline": {
      +                    "$ref": "#/$defs/__schema0"
      +                  },
      +                  "errorCode": {
      +                    "maxLength": 128,
      +                    "type": "string"
      +                  },
      +                  "planPublicId": {
      +                    "$ref": "#/$defs/__schema1"
      +                  },
      +                  "publicId": {
      +                    "$ref": "#/$defs/__schema1"
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "queued",
      +                      "running",
      +                      "completed",
      +                      "failed",
      +                      "canceled"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "createdAt",
      +                  "deadline",
      +                  "planPublicId",
      +                  "publicId",
      +                  "status"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "reservedCredits": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "selected": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "aiSchedulingAllowance": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "limit": {
      +                    "anyOf": [
      +                      {
      +                        "exclusiveMinimum": 0,
      +                        "maximum": 9007199254740991,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "nextAvailableAt": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "remaining": {
      +                    "anyOf": [
      +                      {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "limit",
      +                  "nextAvailableAt",
      +                  "remaining"
      +                ],
      +                "type": "object"
      +              },
      +              "context": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "brandProfileRevisionPublicId": {
      +                        "anyOf": [
      +                          {
      +                            "$ref": "#/$defs/__schema2"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "brandProfileSha256": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 128,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "companyIdentity": {
      +                        "maxLength": 2048,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "guidelines": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "approvedClaims": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "companyDescription": {
      +                            "$ref": "#/$defs/__schema5"
      +                          },
      +                          "companyName": {
      +                            "$ref": "#/$defs/__schema6"
      +                          },
      +                          "examples": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "preferences": {
      +                            "$ref": "#/$defs/__schema3"
      +                          },
      +                          "voiceRules": {
      +                            "$ref": "#/$defs/__schema3"
      +                          }
      +                        },
      +                        "required": [
      +                          "approvedClaims",
      +                          "companyDescription",
      +                          "companyName",
      +                          "examples",
      +                          "preferences",
      +                          "voiceRules"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "guidelinesVersion": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "brandProfileRevisionPublicId",
      +                      "brandProfileSha256",
      +                      "companyIdentity",
      +                      "guidelines",
      +                      "guidelinesVersion"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "contextStale": {
      +                "type": "boolean"
      +              },
      +              "conversation": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema7"
      +                },
      +                "maxItems": 40,
      +                "type": "array"
      +              },
      +              "conversationMediaAssetIds": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema1"
      +                },
      +                "maxItems": 6,
      +                "type": "array"
      +              },
      +              "conversationTargets": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema28"
      +                },
      +                "maxItems": 24,
      +                "type": "array"
      +              },
      +              "conversationWhatsAppTargets": {
      +                "items": {
      +                  "$ref": "#/$defs/__schema32"
      +                },
      +                "maxItems": 24,
      +                "type": "array"
      +              },
      +              "document": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "brief": {
      +                        "maxLength": 4000,
      +                        "type": "string"
      +                      },
      +                      "defaultTargets": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema46"
      +                        },
      +                        "maxItems": 24,
      +                        "type": "array"
      +                      },
      +                      "defaultWhatsAppTargets": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema32"
      +                        },
      +                        "maxItems": 24,
      +                        "type": "array"
      +                      },
      +                      "groups": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema49"
      +                        },
      +                        "maxItems": 12,
      +                        "minItems": 1,
      +                        "type": "array"
      +                      },
      +                      "timezone": {
      +                        "maxLength": 100,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "brief",
      +                      "groups",
      +                      "timezone"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "preferences": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "composition": {
      +                    "enum": [
      +                      "post",
      +                      "campaign"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "optimizePerDestination": {
      +                    "type": "boolean"
      +                  },
      +                  "useBrandContext": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "composition",
      +                  "optimizePerDestination",
      +                  "useBrandContext"
      +                ],
      +                "type": "object"
      +              },
      +              "publicId": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "receipt": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "approvedAt": {
      +                        "$ref": "#/$defs/__schema0"
      +                      },
      +                      "campaigns": {
      +                        "items": {
      +                          "$ref": "#/$defs/__schema53"
      +                        },
      +                        "maxItems": 12,
      +                        "type": "array"
      +                      }
      +                    },
      +                    "required": [
      +                      "approvedAt",
      +                      "campaigns"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "status": {
      +                "enum": [
      +                  "draft",
      +                  "approved"
      +                ],
      +                "type": "string"
      +              },
      +              "title": {
      +                "maxLength": 200,
      +                "type": "string"
      +              },
      +              "version": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "context",
      +              "contextStale",
      +              "document",
      +              "preferences",
      +              "publicId",
      +              "receipt",
      +              "status",
      +              "title",
      +              "version"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "availableCredits",
      +          "enabled",
      +          "generationCreditHold",
      +          "imageGenerationEnabled",
      +          "latestRun",
      +          "reservedCredits",
      +          "selected"
      +        ],
      +        "type": "object"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "AI_SCHEDULING_LIMIT_REACHED",
      +              "AI_SCHEDULING_UNAVAILABLE",
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "campaignPlanGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedOutput schema / $defs / __schema31 / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 8192,
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "items": {
      -      "$ref": "#/$defs/__schema31"
      -    },
      -    "maxItems": 512,
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {
      -      "$ref": "#/$defs/__schema31"
      -    },
      -    "propertyNames": {
      -      "$ref": "#/$defs/__schema30"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 8192,
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {
      +      "$ref": "#/$defs/__schema31"
      +    },
      +    "maxItems": 2000,
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "$ref": "#/$defs/__schema31"
      +    },
      +    "propertyNames": {
      +      "$ref": "#/$defs/__schema30"
      +    },
      +    "type": "object"
      +  }
      +]
  6. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description does add real context beyond that: the 'owned' access boundary and the caveat that image job access depends on connection permissions and visible tools, which explains partial responses. It still says nothing about behavior for non-owned or missing plans.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the return intent, and the permission caveat placed second where it belongs. The payload enumeration is arguably redundant with the output schema, but it is compact and earns most of its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, listing return fields adds little, and the genuine gap - how to obtain a valid planPublicId and what happens for plans the caller does not own - is left unaddressed. The permission caveat is a useful partial remedy, so the definition is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% - the single planPublicId parameter has only a regex pattern and length bounds, with no prose explaining what it identifies or where to obtain it. The description does not compensate, never mentioning the parameter, its format, or how to source the ID.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Returns') and resource ('an owned AI plan'), then enumerates the payload components: exact version, conversation, saved image ideas, current planning job, and available/reserved credits. This clearly separates it from a generation sibling like campaignPlanGenerate, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied - an agent can infer this is the read path for a plan identified by ID. There is no statement of when to prefer it over campaignPlanGenerate or campaignReviewGet, and no exclusions or preconditions such as how a plan must already exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources