changedOutput schema / anyOf
Previous value: -[
- {
- "allOf": [
- {
- "properties": {
- "available_chains": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "chain": {
- "type": [
- "string",
- "null"
- ]
- },
- "cost_per_million_usd": {
- "type": [
- "number",
- "null"
- ]
- },
- "cu_weight": {
- "type": [
- "number",
- "null"
- ]
- },
- "docs_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "type": "string"
- },
- "notes": {
- "type": [
- "string",
- "null"
- ]
- },
- "supported": {
- "type": "boolean"
- }
- },
- "required": [
- "method",
- "supported",
- "available_chains"
- ],
- "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": {
+ "available_chains": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "chain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cost_per_million_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "cu_weight": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "docs_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "type": "string"
+ },
+ "notes": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "supported": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "method",
+ "supported",
+ "available_chains"
+ ],
+ "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": [
+ "method_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"
+ }
+]