changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "accepts": {
+ "items": {
+ "properties": {
+ "amount": {
+ "description": "USDC atomic units (6 decimals)",
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "extra": {
+ "type": "object"
+ },
+ "maxTimeoutSeconds": {
+ "type": "number"
+ },
+ "network": {
+ "const": "eip155:8453",
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "scheme": {
+ "const": "exact",
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "network",
+ "amount",
+ "asset",
+ "payTo"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "resource": {
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "age_seconds": {
+ "description": "Quote age",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "as_of": {
+ "description": "Upstream time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ask": {
+ "description": "Best ask",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "ask_size": {
+ "description": "Best ask size",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "bid": {
+ "description": "Best bid",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "bid_size": {
+ "description": "Best bid size",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "change_24h_pct": {
+ "description": "24h change %",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "change_utc_day_pct": {
+ "description": "UTC-day change %",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "disclaimer": {
+ "description": "Not financial advice notice",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "generated_at": {
+ "description": "Response time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "high_24h": {
+ "description": "24h high",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "last": {
+ "description": "Last trade price",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "low_24h": {
+ "description": "24h low",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "market": {
+ "description": "spot",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mid": {
+ "description": "Mid price",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "open_24h": {
+ "description": "Price 24h ago",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "open_utc0": {
+ "description": "UTC-day open",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "pair": {
+ "description": "OKX pair, e.g. BTC-USDT",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "provenance": {
+ "description": "Optional provenance on paid 200s",
+ "properties": {
+ "data_sha256": {
+ "type": "string"
+ },
+ "fetched_at": {
+ "type": "string"
+ },
+ "max_age_s": {
+ "type": "number"
+ },
+ "source": {
+ "type": "string"
+ },
+ "sources": {
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "quote_note": {
+ "description": "Quote notes",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "Upstream",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spread_bps": {
+ "description": "Bid/ask spread in bps",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "symbol": {
+ "description": "Base ticker",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "venue": {
+ "description": "okx",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "volume_24h_base": {
+ "description": "24h volume (base)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "volume_24h_usdt": {
+ "description": "24h volume (USDT)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "age_seconds",
+ "as_of",
+ "ask",
+ "ask_size",
+ "bid",
+ "bid_size",
+ "change_24h_pct",
+ "change_utc_day_pct",
+ "disclaimer",
+ "generated_at",
+ "high_24h",
+ "last",
+ "low_24h",
+ "market",
+ "mid",
+ "open_24h",
+ "open_utc0",
+ "pair",
+ "quote_note",
+ "source",
+ "spread_bps",
+ "symbol",
+ "venue",
+ "volume_24h_base",
+ "volume_24h_usdt"
+ ],
+ "title": "Paid HTTP 200 body of GET /spot/{symbol}",
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}