changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "output": {
- "additionalProperties": false,
- "properties": {
- "brandContext": {
- "anyOf": [
- {
- "additionalProperties": {
- "$ref": "#/$defs/__schema1"
- },
- "propertyNames": {
- "$ref": "#/$defs/__schema0"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "companyIdentity": {
- "maxLength": 4096,
- "type": "string"
- },
- "context": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "canonicalWebsite": {
- "anyOf": [
- {
- "maxLength": 4096,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "companyName": {
- "maxLength": 8192,
- "type": "string"
- },
- "source": {
- "enum": [
- "confirmed_profile",
- "customer_guidance"
- ],
- "type": "string"
- }
- },
- "required": [
- "canonicalWebsite",
- "companyName",
- "source"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "guidelines": {
- "additionalProperties": false,
- "properties": {
- "appliesToCurrentCompany": {
- "type": "boolean"
- },
- "body": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "approvedClaims": {
- "$ref": "#/$defs/__schema2"
- },
- "companyDescription": {
- "$ref": "#/$defs/__schema4"
- },
- "companyName": {
- "$ref": "#/$defs/__schema5"
- },
- "examples": {
- "$ref": "#/$defs/__schema2"
- },
- "preferences": {
- "$ref": "#/$defs/__schema2"
- },
- "voiceRules": {
- "$ref": "#/$defs/__schema2"
- }
- },
- "required": [
- "approvedClaims",
- "companyDescription",
- "companyName",
- "examples",
- "preferences",
- "voiceRules"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "version": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "appliesToCurrentCompany",
- "body",
- "version"
- ],
- "type": "object"
- }
- },
- "required": [
- "brandContext",
- "companyIdentity",
- "context",
- "guidelines"
- ],
- "type": "object"
- },
- "toolName": {
- "const": "brandContextGet",
- "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": "brandContextGet",
- "type": "string"
- }
- },
- "required": [
- "error",
- "ok",
- "toolName"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "output": {
+ "additionalProperties": false,
+ "properties": {
+ "brandContext": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "propertyNames": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "companyIdentity": {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ "context": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "canonicalWebsite": {
+ "anyOf": [
+ {
+ "maxLength": 4096,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "companyName": {
+ "maxLength": 8192,
+ "type": "string"
+ },
+ "source": {
+ "enum": [
+ "confirmed_profile",
+ "customer_guidance"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "canonicalWebsite",
+ "companyName",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "guidelines": {
+ "additionalProperties": false,
+ "properties": {
+ "appliesToCurrentCompany": {
+ "type": "boolean"
+ },
+ "body": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approvedClaims": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "companyDescription": {
+ "$ref": "#/$defs/__schema4"
+ },
+ "companyName": {
+ "$ref": "#/$defs/__schema5"
+ },
+ "examples": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "preferences": {
+ "$ref": "#/$defs/__schema2"
+ },
+ "voiceRules": {
+ "$ref": "#/$defs/__schema2"
+ }
+ },
+ "required": [
+ "approvedClaims",
+ "companyDescription",
+ "companyName",
+ "examples",
+ "preferences",
+ "voiceRules"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "version": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "appliesToCurrentCompany",
+ "body",
+ "version"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "brandContext",
+ "companyIdentity",
+ "context",
+ "guidelines"
+ ],
+ "type": "object"
+ },
+ "toolName": {
+ "const": "brandContextGet",
+ "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": "brandContextGet",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "ok",
+ "toolName"
+ ],
+ "type": "object"
+ }
+]