changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": [
- "number",
- "null"
- ]
- },
- "attribution": {
- "type": "string"
- },
- "base": {
- "type": "string"
- },
- "converted": {
- "anyOf": [
- {
- "additionalProperties": {
- "type": "number"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "date": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "rates": {
- "additionalProperties": {
- "type": "number"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "date",
- "base",
- "rates",
- "amount",
- "converted",
- "attribution",
- "note"
- ],
- "type": "object"
- },
- {
- "description": "x402 PaymentRequired (returned with isError when payment is needed)",
- "properties": {
- "accepts": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "error": {
- "type": "string"
- },
- "extensions": {
- "type": "object"
- },
- "resource": {
- "type": "object"
- },
- "x402Version": {
- "type": "integer"
- }
- },
- "required": [
- "x402Version",
- "accepts"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "attribution": {
+ "type": "string"
+ },
+ "base": {
+ "type": "string"
+ },
+ "converted": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "date": {
+ "type": "string"
+ },
+ "next": {
+ "additionalProperties": false,
+ "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
+ "properties": {
+ "method": {
+ "enum": [
+ "GET",
+ "POST"
+ ],
+ "type": "string"
+ },
+ "sample": {
+ "description": "Free fixed sample of the whole family",
+ "type": "string"
+ },
+ "service": {
+ "description": "Service id of the suggested next paid call",
+ "type": "string"
+ },
+ "tool": {
+ "description": "MCP tool name of the same call",
+ "type": "string"
+ },
+ "url": {
+ "description": "Paid route of the next call",
+ "type": "string"
+ },
+ "useWhen": {
+ "description": "When the next call is the right one",
+ "type": "string"
+ }
+ },
+ "required": [
+ "service",
+ "tool",
+ "method",
+ "url",
+ "useWhen",
+ "sample"
+ ],
+ "type": "object"
+ },
+ "note": {
+ "type": "string"
+ },
+ "rates": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "date",
+ "base",
+ "rates",
+ "amount",
+ "converted",
+ "attribution",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "x402 PaymentRequired (returned with isError when payment is needed)",
+ "properties": {
+ "accepts": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "extensions": {
+ "type": "object"
+ },
+ "resource": {
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "type": "object"
+ }
+]