changedOutput schema / anyOf
Previous value: -[
- {
- "allOf": [
- {
- "properties": {
- "message": {
- "type": "string"
- },
- "results": {
- "items": {
- "properties": {
- "path": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "path",
- "summary"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "results"
- ],
- "type": "object"
- },
- {
- "not": {
- "properties": {
- "error": {
- "const": "invalid_tool_arguments",
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "const": "invalid_tool_arguments",
- "type": "string"
- },
- "message": {
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "enum": [
- "invalid_root",
- "schema_type",
- "schema_enum",
- "undeclared_property",
- "credential_field",
- "credential_value"
- ],
- "type": "string"
- }
- },
- "required": [
- "error",
- "reason",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "path",
+ "summary"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "results"
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "properties": {
+ "error": {
+ "const": "executor_request_rejected",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "executor_request_rejected",
+ "type": "string"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "query_required"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "reason",
+ "message"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "properties": {
+ "error": {
+ "const": "invalid_tool_arguments",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "const": "invalid_tool_arguments",
+ "type": "string"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "invalid_root",
+ "schema_type",
+ "schema_enum",
+ "undeclared_property",
+ "credential_field",
+ "credential_value"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "reason",
+ "message"
+ ],
+ "type": "object"
+ }
+]