changedOutput schema / anyOf
Previous value: -[
- {
- "allOf": [
- {
- "properties": {
- "balance_units": {
- "description": "Remaining balance units after this request (only present when balance is known and x-bv-meter: 1 was sent).",
- "type": "integer"
- },
- "cu_charged": {
- "description": "Compute Units billed for this request (only present when charged and x-bv-meter: 1 was sent).",
- "type": "integer"
- },
- "error": {
- "properties": {
- "code": {
- "type": "number"
- },
- "docs_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "message": {
- "type": "string"
- },
- "reason": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": [
- "object",
- "string"
- ]
- },
- "help": {
- "properties": {
- "guide_url": {
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "id": {
- "type": [
- "number",
- "string",
- "null"
- ]
- },
- "jsonrpc": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "result": {},
- "signup_url": {
- "description": "Registration and sign-up URL (returned when rate-limited on the public endpoint).",
- "type": "string"
- }
- },
- "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": {
+ "balance_units": {
+ "description": "Remaining balance units after this request (only present when balance is known and x-bv-meter: 1 was sent).",
+ "type": "integer"
+ },
+ "cu_charged": {
+ "description": "Compute Units billed for this request (only present when charged and x-bv-meter: 1 was sent).",
+ "type": "integer"
+ },
+ "error": {
+ "properties": {
+ "code": {
+ "type": "number"
+ },
+ "docs_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "string"
+ ]
+ },
+ "help": {
+ "properties": {
+ "guide_url": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "number",
+ "string",
+ "null"
+ ]
+ },
+ "jsonrpc": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "result": {},
+ "signup_url": {
+ "description": "Registration and sign-up URL (returned when rate-limited on the public endpoint).",
+ "type": "string"
+ }
+ },
+ "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": [
+ "chain_required",
+ "method_required",
+ "unknown_chain"
+ ],
+ "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"
+ }
+]