changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "blockNumber": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "decimals": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "depthUsd": {
- "type": [
- "number",
- "null"
- ]
- },
- "feeTier": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "pool": {
- "type": [
- "string",
- "null"
- ]
- },
- "priceUsd": {
- "type": "number"
- },
- "quote": {
- "enum": [
- "USDC",
- "WETH"
- ],
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "symbol": {
- "type": [
- "string",
- "null"
- ]
- },
- "token": {
- "type": "string"
- }
- },
- "required": [
- "token",
- "symbol",
- "decimals",
- "priceUsd",
- "quote",
- "pool",
- "feeTier",
- "depthUsd",
- "blockNumber",
- "source"
- ],
- "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": {
+ "blockNumber": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "decimals": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "depthUsd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "feeTier": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "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"
+ },
+ "pool": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "priceUsd": {
+ "type": "number"
+ },
+ "quote": {
+ "enum": [
+ "USDC",
+ "WETH"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "symbol": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "token",
+ "symbol",
+ "decimals",
+ "priceUsd",
+ "quote",
+ "pool",
+ "feeTier",
+ "depthUsd",
+ "blockNumber",
+ "source"
+ ],
+ "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"
+ }
+]