changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "output": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "altText": {
- "maxLength": 2000,
- "type": "string"
- },
- "assetId": {
- "$ref": "#/$defs/__schema0"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png"
- ],
- "type": "string"
- },
- "height": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewExpiresAt": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewUrl": {
- "$ref": "#/$defs/__schema1"
- },
- "sizeBytes": {
- "exclusiveMinimum": 0,
- "maximum": 6291456,
- "type": "integer"
- },
- "width": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "assetId",
- "contentType",
- "sizeBytes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "altText": {
- "maxLength": 2000,
- "type": "string"
- },
- "assetId": {
- "$ref": "#/$defs/__schema0"
- },
- "contentType": {
- "enum": [
- "image/jpeg",
- "image/png",
- "image/gif",
- "image/webp"
- ],
- "type": "string"
- },
- "height": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewExpiresAt": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewUrl": {
- "$ref": "#/$defs/__schema1"
- },
- "reviewPath": {
- "const": "/app/media",
- "type": "string"
- },
- "sizeBytes": {
- "exclusiveMinimum": 0,
- "maximum": 20971520,
- "type": "integer"
- },
- "status": {
- "const": "ready",
- "type": "string"
- },
- "width": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "assetId",
- "contentType",
- "height",
- "reviewPath",
- "sizeBytes",
- "status",
- "width"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "$ref": "#/$defs/__schema0"
- },
- "contentType": {
- "const": "video/mp4",
- "type": "string"
- },
- "durationSeconds": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "height": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewExpiresAt": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "previewUrl": {
- "$ref": "#/$defs/__schema1"
- },
- "reviewPath": {
- "const": "/app/media",
- "type": "string"
- },
- "sizeBytes": {
- "exclusiveMinimum": 0,
- "maximum": 5000000000,
- "type": "integer"
- },
- "status": {
- "const": "ready",
- "type": "string"
- },
- "width": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "assetId",
- "contentType",
- "durationSeconds",
- "height",
- "reviewPath",
- "sizeBytes",
- "status",
- "width"
- ],
- "type": "object"
- }
- ]
- },
- "toolName": {
- "const": "mediaGet",
- "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": "mediaGet",
- "type": "string"
- }
- },
- "required": [
- "error",
- "ok",
- "toolName"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "altText": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "assetId": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png"
+ ],
+ "type": "string"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewExpiresAt": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewUrl": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "sizeBytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 6291456,
+ "type": "integer"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "assetId",
+ "contentType",
+ "sizeBytes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "altText": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "assetId": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "contentType": {
+ "enum": [
+ "image/jpeg",
+ "image/png",
+ "image/gif",
+ "image/webp"
+ ],
+ "type": "string"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewExpiresAt": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewUrl": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "reviewPath": {
+ "const": "/app/media",
+ "type": "string"
+ },
+ "sizeBytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 20971520,
+ "type": "integer"
+ },
+ "status": {
+ "const": "ready",
+ "type": "string"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "assetId",
+ "contentType",
+ "height",
+ "reviewPath",
+ "sizeBytes",
+ "status",
+ "width"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "contentType": {
+ "const": "video/mp4",
+ "type": "string"
+ },
+ "durationSeconds": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewExpiresAt": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "previewUrl": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "reviewPath": {
+ "const": "/app/media",
+ "type": "string"
+ },
+ "sizeBytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 5000000000,
+ "type": "integer"
+ },
+ "status": {
+ "const": "ready",
+ "type": "string"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "assetId",
+ "contentType",
+ "durationSeconds",
+ "height",
+ "reviewPath",
+ "sizeBytes",
+ "status",
+ "width"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "toolName": {
+ "const": "mediaGet",
+ "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": "mediaGet",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "ok",
+ "toolName"
+ ],
+ "type": "object"
+ }
+]