DropEngine x402 Agent Services

Paid Base USDC tools for agent security, routing, web data, claim evidence, and crypto intelligence.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
76%
命名の品質
87%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains suspicious base64-like encoded stringverify_claim 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~14,453トークン数(ツール定義)
~7.2 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 11.29%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "x402-agent-services": {
      "url": "https://mcp.dropenginehq.com/api/agent-services"
    }
  }
}

リモートエンドポイント

https://mcp.dropenginehq.com/api/agent-servicesstreamable-http

できること

ツール一覧

ツール(20)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢invoice_preflight_quote(document_type, page_count, file_size_bytes)

FREE, no wallet or document upload: choose the lowest priced Invoice Preflight tool from document type, PDF page count, and optional byte size. Call this before a paid invoice tool when the tier is uncertain. It does not inspect or validate the document.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_type": {
      "type": "string",
      "enum": [
        "ubl_xml",
        "pdf",
        "image"
      ]
    },
    "page_count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "file_size_bytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "document_type"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "needs_page_count",
        "unsupported",
        "temporarily_unavailable"
      ]
    },
    "recommended_tool": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "invoice_preflight",
            "invoice_preflight_10_pages",
            "invoice_preflight_50_pages"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "price_usdc": {
      "type": [
        "string",
        "null"
      ]
    },
    "network": {
      "type": "string",
      "enum": [
        "eip155:8453",
        "eip155:84532"
      ]
    },
    "reason": {
      "type": "string"
    },
    "no_payment_taken": {
      "type": "boolean",
      "const": true
    },
    "document_not_inspected": {
      "type": "boolean",
      "const": true
    },
    "final_validation_on_paid_call": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "status",
    "recommended_tool",
    "price_usdc",
    "network",
    "reason",
    "no_payment_taken",
    "document_not_inspected",
    "final_validation_on_paid_call"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢mcp_server_inspect(endpoint, expected_tools)

Paid read-only MCP check ($0.01 USDC on Base): verify a public HTTPS MCP endpoint, list tool names, summarize input schemas, compare expected tool names, and flag risky metadata. Inspected tools are never called.

入力スキーマ

{
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "expected_tools": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128
      }
    }
  },
  "required": [
    "endpoint"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "reachable"
    },
    "endpoint_host": {
      "type": "string"
    },
    "inspected_at": {
      "type": "string"
    },
    "server": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "version"
      ],
      "additionalProperties": false
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tool_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "tool_list_truncated": {
      "type": "boolean"
    },
    "duplicate_tool_names": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "expected_tools": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "missing": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "unexpected": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "missing",
            "unexpected"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description_excerpt": {
            "type": "string"
          },
          "schema": {
            "type": "object",
            "properties": {
              "valid": {
                "type": "boolean"
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "required",
                    "type"
                  ],
                  "additionalProperties": false
                }
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "valid",
              "fields",
              "warnings"
            ],
            "additionalProperties": false
          },
          "risk_flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metadata_is_untrusted": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "name",
          "description_excerpt",
          "schema",
          "risk_flags",
          "metadata_is_untrusted"
        ],
        "additionalProperties": false
      }
    },
    "read_only_inspection": {
      "type": "boolean",
      "const": true
    },
    "tools_were_not_called": {
      "type": "boolean",
      "const": true
    },
    "metadata_is_untrusted": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "status",
    "endpoint_host",
    "inspected_at",
    "server",
    "capabilities",
    "tool_count",
    "tool_list_truncated",
    "duplicate_tool_names",
    "expected_tools",
    "tools",
    "read_only_inspection",
    "tools_were_not_called",
    "metadata_is_untrusted"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢check_url(url)

Paid Agent Preflight URL check ($0.005 USDC on Base). Call before an agent opens, follows, downloads from, or trusts an unknown URL. Performs deterministic checks, safely inspects HTTPS redirects without loading page content, blocks localhost/private addresses, and optionally queries Google Web Risk when configured. No LLM is used. A clean result is not a guarantee of safety.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "safe": {
      "type": "boolean"
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "risk_level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "allow",
        "caution",
        "block"
      ]
    },
    "normalized_url": {
      "type": "string"
    },
    "final_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "redirect_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "https": {
      "type": "boolean"
    },
    "domain_age_risk": {
      "type": "string",
      "const": "unknown"
    },
    "phishing": {
      "type": "boolean"
    },
    "malware": {
      "type": "boolean"
    },
    "suspicious_redirect": {
      "type": "boolean"
    },
    "suspicious_domain": {
      "type": "boolean"
    },
    "threats": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cached": {
      "type": "boolean"
    },
    "degraded": {
      "type": "boolean"
    },
    "checked_at": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "safe",
    "risk_score",
    "risk_level",
    "recommendation",
    "normalized_url",
    "final_url",
    "redirect_count",
    "https",
    "domain_age_risk",
    "phishing",
    "malware",
    "suspicious_redirect",
    "suspicious_domain",
    "threats",
    "warnings",
    "sources",
    "cached",
    "degraded",
    "checked_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪scan_content(content, content_type, source)

Paid Untrusted Content Security Layer ($0.005 USDC on Base). Scan untrusted text, HTML, Markdown, email, document text, API responses, and tool outputs before your agent adds them to context, follows their instructions, or acts. Returns risk score, risk categories, recommendation, and sanitized plain text when possible. Bounded deterministic local scanning; no external LLM or provider call. Maximum 100000 characters.

入力スキーマ

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1
    },
    "content_type": {
      "type": "string",
      "enum": [
        "text",
        "html",
        "markdown",
        "email",
        "tool_output",
        "api_response",
        "document_text"
      ]
    },
    "source": {
      "type": "string",
      "maxLength": 2048
    }
  },
  "required": [
    "content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "safe": {
      "type": "boolean"
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "risk_level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "allow",
        "caution",
        "sanitize",
        "block"
      ]
    },
    "prompt_injection_detected": {
      "type": "boolean"
    },
    "data_exfiltration_risk": {
      "type": "boolean"
    },
    "credential_theft_risk": {
      "type": "boolean"
    },
    "tool_manipulation_risk": {
      "type": "boolean"
    },
    "instruction_override_risk": {
      "type": "boolean"
    },
    "detected_patterns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "instruction_override",
              "system_prompt_extraction",
              "credential_request",
              "secret_exfiltration",
              "tool_manipulation",
              "external_data_exfiltration",
              "unsafe_navigation_instruction",
              "privilege_escalation",
              "hidden_instruction",
              "encoded_instruction",
              "role_impersonation",
              "memory_manipulation",
              "security_bypass",
              "suspicious_action_request"
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "critical"
            ]
          }
        },
        "required": [
          "type",
          "severity"
        ],
        "additionalProperties": false
      }
    },
    "requested_actions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sanitized_content": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cached": {
      "type": "boolean"
    },
    "degraded": {
      "type": "boolean"
    },
    "scanned_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    }
  },
  "required": [
    "safe",
    "risk_score",
    "risk_level",
    "recommendation",
    "prompt_injection_detected",
    "data_exfiltration_risk",
    "credential_theft_risk",
    "tool_manipulation_risk",
    "instruction_override_risk",
    "detected_patterns",
    "requested_actions",
    "sanitized_content",
    "sources",
    "cached",
    "degraded",
    "scanned_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡simulate_transaction(chain, from, to, value, data)

Paid Transaction Preflight ($0.02 USDC on Base). Simulates an unsigned Base transaction before an autonomous agent signs or broadcasts it. Returns RPC execution/revert status, gas estimate, known top-level method decoding, direct ERC-20 transfer/approval calldata, unlimited approval warnings, and machine-readable risk. Standard JSON-RPC does not expose full internal token state changes; do not treat calldata decoding as a complete state diff. Never send a private key or seed phrase. This tool never signs, holds keys, or broadcasts.

入力スキーマ

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "base-sepolia"
      ]
    },
    "from": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "to": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    },
    "value": {
      "type": "string",
      "maxLength": 78,
      "pattern": "^(?:0|[1-9]\\d*)$"
    },
    "data": {
      "type": "string",
      "maxLength": 131074,
      "pattern": "^0x(?:[a-fA-F0-9]{2})*$"
    }
  },
  "required": [
    "chain",
    "from",
    "to",
    "value",
    "data"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "simulation_success": {
      "type": "boolean"
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "risk_level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "allow",
        "caution",
        "block"
      ]
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "base-sepolia"
      ]
    },
    "chain_id": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "estimated_gas": {
      "type": [
        "string",
        "null"
      ]
    },
    "gas_price_wei": {
      "type": [
        "string",
        "null"
      ]
    },
    "estimated_native_cost": {
      "type": [
        "string",
        "null"
      ]
    },
    "estimated_usd_cost": {
      "type": "null"
    },
    "native_balance_changes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "direction": {
            "type": "string",
            "enum": [
              "in",
              "out"
            ]
          },
          "amount_wei": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "enum": [
              "transaction_value",
              "estimated_gas"
            ]
          }
        },
        "required": [
          "address",
          "direction",
          "amount_wei",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "token_transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "contract": {
            "type": "string"
          },
          "direction": {
            "type": "string",
            "enum": [
              "in",
              "out",
              "unknown"
            ]
          },
          "amount_raw": {
            "type": "string"
          },
          "recipient": {
            "type": [
              "string",
              "null"
            ]
          },
          "confidence": {
            "type": "string",
            "const": "high"
          },
          "source": {
            "type": "string",
            "const": "top_level_calldata"
          }
        },
        "required": [
          "token",
          "contract",
          "direction",
          "amount_raw",
          "recipient",
          "confidence",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "approvals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "spender": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "unlimited": {
            "type": "boolean"
          },
          "risk": {
            "type": "string",
            "enum": [
              "low",
              "high"
            ]
          }
        },
        "required": [
          "token",
          "spender",
          "amount",
          "unlimited",
          "risk"
        ],
        "additionalProperties": false
      }
    },
    "contract_calls": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string"
          },
          "selector": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "confidence": {
            "type": "string",
            "enum": [
              "high",
              "unknown"
            ]
          }
        },
        "required": [
          "to",
          "selector",
          "name",
          "confidence"
        ],
        "additionalProperties": false
      }
    },
    "contract_reputation": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "known_safe",
            "known_risky",
            "unknown"
          ]
        },
        "provider": {
          "type": "string"
        }
      },
      "required": [
        "status",
        "provider"
      ],
      "additionalProperties": false
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "revert_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "simulated_block": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "cached": {
      "type": "boolean"
    },
    "degraded": {
      "type": "boolean"
    },
    "analysis_scope": {
      "type": "string",
      "const": "top_level_calldata_and_rpc_simulation"
    },
    "checked_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    }
  },
  "required": [
    "success",
    "simulation_success",
    "risk_score",
    "risk_level",
    "recommendation",
    "chain",
    "chain_id",
    "estimated_gas",
    "gas_price_wei",
    "estimated_native_cost",
    "estimated_usd_cost",
    "native_balance_changes",
    "token_transfers",
    "approvals",
    "contract_calls",
    "contract_reputation",
    "warnings",
    "revert_reason",
    "simulated_block",
    "cached",
    "degraded",
    "analysis_scope",
    "checked_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡check_wallet(chain, address)

Paid Wallet Risk Check ($0.02 USDC on Base). Call before an agent sends funds to, accepts value from, grants an approval to, or interacts with an unfamiliar address. Checks whether the address is a wallet or contract and reads basic on-chain metadata. Sanctions, scam, drainer, mixer, and malicious-address intelligence are unknown unless a trusted provider is configured; without one, the result is cautious and low-confidence, not a safety certification. Never send private keys or seed phrases.

入力スキーマ

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "base-sepolia"
      ]
    },
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    }
  },
  "required": [
    "chain",
    "address"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "base-sepolia"
      ]
    },
    "address": {
      "type": "string"
    },
    "address_type": {
      "type": "string",
      "enum": [
        "wallet",
        "contract"
      ]
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "risk_level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "risk_confidence": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "allow",
        "caution",
        "block"
      ]
    },
    "reputation": {
      "type": "string",
      "enum": [
        "neutral",
        "suspicious",
        "malicious",
        "unknown"
      ]
    },
    "sanctions_match": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "known_malicious": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "scam_risk": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "drainer_risk": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "mixer_exposure": {
      "type": "object",
      "properties": {
        "level": {
          "type": "string",
          "enum": [
            "none",
            "low",
            "medium",
            "high",
            "unknown"
          ]
        },
        "direct": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "level",
        "direct"
      ],
      "additionalProperties": false
    },
    "exposures": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "relationship": {
            "type": "string",
            "enum": [
              "direct",
              "indirect"
            ]
          },
          "distance": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "critical"
            ]
          }
        },
        "required": [
          "category",
          "relationship",
          "distance",
          "severity"
        ],
        "additionalProperties": false
      }
    },
    "suspicious_activity": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contract": {
      "type": "object",
      "properties": {
        "is_contract": {
          "type": "boolean"
        },
        "verified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "proxy": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "code_size_bytes": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "is_contract",
        "verified",
        "proxy",
        "code_size_bytes"
      ],
      "additionalProperties": false
    },
    "onchain": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "native_balance_wei": {
          "type": "string"
        },
        "transaction_count": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "block_number": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "chain_id",
        "native_balance_wei",
        "transaction_count",
        "block_number"
      ],
      "additionalProperties": false
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "degraded": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "checked_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data_freshness_seconds": {
      "type": "number",
      "minimum": 0
    }
  },
  "required": [
    "success",
    "chain",
    "address",
    "address_type",
    "risk_score",
    "risk_level",
    "risk_confidence",
    "recommendation",
    "reputation",
    "sanctions_match",
    "known_malicious",
    "scam_risk",
    "drainer_risk",
    "mixer_exposure",
    "exposures",
    "suspicious_activity",
    "warnings",
    "contract",
    "onchain",
    "sources",
    "degraded",
    "cached",
    "checked_at",
    "data_freshness_seconds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢check_package(ecosystem, package, version)

Paid Package Safety Gate ($0.005 USDC on Base). Call before a coding agent installs, imports, or adds an unfamiliar npm dependency. Checks resolved package/version, OSV vulnerabilities and malware advisories, popular-name typosquatting, and install lifecycle scripts using static analysis only. Package code is never executed. Checks up to 10 direct dependencies when their versions can be resolved; it does not traverse transitive dependencies or assess maintainer history. Unknown coverage returns caution.

入力スキーマ

{
  "type": "object",
  "properties": {
    "ecosystem": {
      "type": "string",
      "const": "npm"
    },
    "package": {
      "type": "string",
      "minLength": 1,
      "maxLength": 214
    },
    "version": {
      "type": "string",
      "maxLength": 128
    }
  },
  "required": [
    "ecosystem",
    "package"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "ecosystem": {
      "type": "string",
      "const": "npm"
    },
    "package": {
      "type": "string"
    },
    "requested_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "resolved_version": {
      "type": "string"
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "risk_level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "risk_confidence": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "allow",
        "caution",
        "block"
      ]
    },
    "known_malicious": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "malicious_confidence": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "known_vulnerabilities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "critical",
              "unknown"
            ]
          },
          "affected": {
            "type": "boolean",
            "const": true
          },
          "fixed_version": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "summary",
          "severity",
          "affected",
          "fixed_version"
        ],
        "additionalProperties": false
      }
    },
    "typosquat_risk": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical",
        "unknown"
      ]
    },
    "similar_to": {
      "type": [
        "string",
        "null"
      ]
    },
    "similarity_score": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "install_script_risk": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical",
        "unknown"
      ]
    },
    "suspicious_scripts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "signals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name",
          "signals"
        ],
        "additionalProperties": false
      }
    },
    "dependency_risk": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "unknown"
      ]
    },
    "dependency_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "dependencies_analyzed": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "dependency_findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "package": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "known_malicious": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "vulnerabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "risk": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high",
              "critical",
              "unknown"
            ]
          }
        },
        "required": [
          "package",
          "version",
          "known_malicious",
          "vulnerabilities",
          "risk"
        ],
        "additionalProperties": false
      }
    },
    "maintainer_risk": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "unknown"
      ]
    },
    "maintainer_count": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "reputation": {
      "type": "string",
      "enum": [
        "good",
        "neutral",
        "suspicious",
        "malicious",
        "unknown"
      ]
    },
    "package_age_days": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "new_package": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "deprecated": {
      "type": "boolean"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "degraded": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "checked_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data_freshness_seconds": {
      "type": "number",
      "minimum": 0
    }
  },
  "required": [
    "success",
    "ecosystem",
    "package",
    "requested_version",
    "resolved_version",
    "risk_score",
    "risk_level",
    "risk_confidence",
    "recommendation",
    "known_malicious",
    "malicious_confidence",
    "known_vulnerabilities",
    "typosquat_risk",
    "similar_to",
    "similarity_score",
    "install_script_risk",
    "suspicious_scripts",
    "dependency_risk",
    "dependency_count",
    "dependencies_analyzed",
    "dependency_findings",
    "maintainer_risk",
    "maintainer_count",
    "reputation",
    "package_age_days",
    "new_package",
    "deprecated",
    "warnings",
    "sources",
    "degraded",
    "cached",
    "checked_at",
    "data_freshness_seconds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪route_tool(capability, query, constraints, preferences)

Paid Agent Tool Router ($0.002 USDC on Base). Finds and ranks machine-payable MCP services and x402 HTTP endpoints before your agent chooses or pays a provider. Uses structured capability matching, hard constraints, price, observed latency/reliability, and cold-start trust confidence; no LLM call is required. Returns a recommendation only: it never invokes the selected provider or makes a second payment. Without X402_BAZAAR_DISCOVERY_URLS, results come only from this platform's local service registry and are marked degraded.

入力スキーマ

{
  "type": "object",
  "properties": {
    "capability": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "pattern": "^[a-zA-Z][a-zA-Z0-9_.-]*$"
    },
    "query": {
      "type": "string",
      "maxLength": 300
    },
    "constraints": {
      "type": "object",
      "properties": {
        "max_price_usd": {
          "type": "number",
          "minimum": 0,
          "maximum": 1000000
        },
        "max_latency_ms": {
          "type": "integer",
          "minimum": 1,
          "maximum": 600000
        },
        "min_success_rate": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        }
      },
      "additionalProperties": false
    },
    "preferences": {
      "type": "object",
      "properties": {
        "optimize_for": {
          "type": "string",
          "enum": [
            "cheapest",
            "fastest",
            "quality",
            "reliability",
            "balanced"
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "capability"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "match_found": {
      "type": "boolean"
    },
    "capability": {
      "type": "string"
    },
    "query": {
      "type": [
        "string",
        "null"
      ]
    },
    "optimize_for": {
      "type": "string",
      "enum": [
        "cheapest",
        "fastest",
        "quality",
        "reliability",
        "balanced"
      ]
    },
    "recommended": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "service_id": {
              "type": "string"
            },
            "provider": {
              "type": "string"
            },
            "endpoint": {
              "type": "string",
              "format": "uri"
            },
            "protocol": {
              "type": "string",
              "enum": [
                "x402",
                "mcp",
                "https_api"
              ]
            },
            "tool_name": {
              "type": "string"
            },
            "network": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            },
            "price_usd": {
              "type": "number"
            },
            "capability_score": {
              "type": "number"
            },
            "trust_score": {
              "type": "number"
            },
            "trust_confidence": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "success_rate": {
              "type": [
                "number",
                "null"
              ]
            },
            "estimated_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "latency_confidence": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "status": {
              "type": "string",
              "enum": [
                "active",
                "degraded",
                "unavailable",
                "unknown"
              ]
            },
            "overall_score": {
              "type": "number"
            },
            "price_confidence": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            "metadata_is_untrusted": {
              "type": "boolean"
            }
          },
          "required": [
            "service_id",
            "provider",
            "endpoint",
            "protocol",
            "price_usd",
            "capability_score",
            "trust_score",
            "trust_confidence",
            "success_rate",
            "estimated_latency_ms",
            "latency_confidence",
            "status",
            "overall_score",
            "price_confidence",
            "metadata_is_untrusted"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "alternatives": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "service_id": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "endpoint": {
            "type": "string",
            "format": "uri"
          },
          "protocol": {
            "type": "string",
            "enum": [
              "x402",
              "mcp",
              "https_api"
            ]
          },
          "tool_name": {
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "price_usd": {
            "type": "number"
          },
          "capability_score": {
            "type": "number"
          },
          "trust_score": {
            "type": "number"
          },
          "trust_confidence": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "success_rate": {
            "type": [
              "number",
              "null"
            ]
          },
          "estimated_latency_ms": {
            "type": [
              "number",
              "null"
            ]
          },
          "latency_confidence": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "degraded",
              "unavailable",
              "unknown"
            ]
          },
          "overall_score": {
            "type": "number"
          },
          "price_confidence": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ]
          },
          "metadata_is_untrusted": {
            "type": "boolean"
          }
        },
        "required": [
          "service_id",
          "provider",
          "endpoint",
          "protocol",
          "price_usd",
          "capability_score",
          "trust_score",
          "trust_confidence",
          "success_rate",
          "estimated_latency_ms",
          "latency_confidence",
          "status",
          "overall_score",
          "price_confidence",
          "metadata_is_untrusted"
        ],
        "additionalProperties": false
      }
    },
    "candidates_found": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "candidates_after_filters": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "routing_reason": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "registry_sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "degraded": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "routing_data_age_seconds": {
      "type": "number"
    },
    "checked_at": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "const": "NO_SERVICE_MATCHES_CONSTRAINTS"
    }
  },
  "required": [
    "success",
    "match_found",
    "capability",
    "query",
    "optimize_for",
    "recommended",
    "alternatives",
    "candidates_found",
    "candidates_after_filters",
    "routing_reason",
    "registry_sources",
    "degraded",
    "cached",
    "routing_data_age_seconds",
    "checked_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_live_quote(url, quantity, destination, variant)

Paid Live Product Quote ($0.01 USDC). Retrieves explicitly published product price and stock from a public HTTPS product page before an agent buys; shipping, tax and unknown values remain null. Never purchases.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 4096,
      "format": "uri"
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "destination": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "pattern": "^[A-Za-z]{2}$"
        },
        "postal_code": {
          "type": "string",
          "maxLength": 20
        }
      },
      "required": [
        "country"
      ],
      "additionalProperties": false
    },
    "variant": {
      "type": "object",
      "properties": {
        "size": {
          "type": "string",
          "maxLength": 80
        },
        "color": {
          "type": "string",
          "maxLength": 80
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "product": {
      "type": "object",
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "canonical_url": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "canonical_url"
      ],
      "additionalProperties": false
    },
    "quote": {
      "type": "object",
      "properties": {
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit_price": {
          "type": "number"
        },
        "quantity": {
          "type": "number"
        },
        "subtotal": {
          "type": "number"
        },
        "shipping": {
          "type": "null"
        },
        "tax": {
          "type": "null"
        },
        "fees": {
          "type": "null"
        },
        "landed_total": {
          "type": "null"
        }
      },
      "required": [
        "currency",
        "unit_price",
        "quantity",
        "subtotal",
        "shipping",
        "tax",
        "fees",
        "landed_total"
      ],
      "additionalProperties": false
    },
    "availability": {
      "type": "object",
      "properties": {
        "in_stock": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "stock_status": {
          "type": "string",
          "enum": [
            "in_stock",
            "out_of_stock",
            "unknown"
          ]
        },
        "quantity_available": {
          "type": "null"
        }
      },
      "required": [
        "in_stock",
        "stock_status",
        "quantity_available"
      ],
      "additionalProperties": false
    },
    "variant": {
      "type": "object",
      "properties": {
        "size": {
          "type": [
            "string",
            "null"
          ]
        },
        "color": {
          "type": [
            "string",
            "null"
          ]
        },
        "verified": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "size",
        "color",
        "verified"
      ],
      "additionalProperties": false
    },
    "delivery": {
      "type": "object",
      "properties": {
        "estimated_days_min": {
          "type": "null"
        },
        "estimated_days_max": {
          "type": "null"
        }
      },
      "required": [
        "estimated_days_min",
        "estimated_days_max"
      ],
      "additionalProperties": false
    },
    "confidence": {
      "type": "string",
      "enum": [
        "high",
        "low"
      ]
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cached": {
      "type": "boolean"
    },
    "fetched_at": {
      "type": "string"
    },
    "data_age_seconds": {
      "type": "number"
    }
  },
  "required": [
    "success",
    "product",
    "quote",
    "availability",
    "variant",
    "delivery",
    "confidence",
    "sources",
    "cached",
    "fetched_at",
    "data_age_seconds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢extract_structured(url, schema)

Paid Fresh Structured Extract ($0.01 USDC). Extracts a fresh webpage into a simple agent-defined typed JSON shape, with validation and per-field provenance. Uses static page data only; never executes page JavaScript and never fabricates missing fields.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 4096,
      "format": "uri"
    },
    "schema": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string",
        "enum": [
          "string",
          "number",
          "boolean",
          "string|null",
          "number|null",
          "boolean|null"
        ]
      }
    }
  },
  "required": [
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "url": {
      "type": "string"
    },
    "final_url": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "validation": {
      "type": "object",
      "properties": {
        "schema_valid": {
          "type": "boolean"
        },
        "missing_fields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "coercions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "schema_valid",
        "missing_fields",
        "coercions"
      ],
      "additionalProperties": false
    },
    "confidence": {
      "type": "object",
      "properties": {
        "overall": {
          "type": "number"
        }
      },
      "required": [
        "overall"
      ],
      "additionalProperties": false
    },
    "provenance": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source_type": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source_type"
        ],
        "additionalProperties": false
      }
    },
    "cached": {
      "type": "boolean"
    },
    "data_age_seconds": {
      "type": "number"
    },
    "extracted_at": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "url",
    "final_url",
    "data",
    "validation",
    "confidence",
    "provenance",
    "cached",
    "data_age_seconds",
    "extracted_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡check_change(url, previous_hash)

Paid Change / Diff Check ($0.001 USDC). Checks normalized text on a public HTTPS page against a previous SHA-256 hash, returning a compact diff when a prior snapshot is available.

入力スキーマ

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 4096,
      "format": "uri"
    },
    "previous_hash": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    }
  },
  "required": [
    "url",
    "previous_hash"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "changed": {
      "type": "boolean"
    },
    "baseline_available": {
      "type": "boolean"
    },
    "current_hash": {
      "type": "string"
    },
    "previous_hash": {
      "type": "string"
    },
    "change_score": {
      "type": "number"
    },
    "change_type": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "diff": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "added": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "removed": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "added",
            "removed"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "type": "object",
      "properties": {
        "price_changed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "stock_changed": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "price_changed",
        "stock_changed"
      ],
      "additionalProperties": false
    },
    "cached": {
      "type": "boolean"
    },
    "data_age_seconds": {
      "type": "number"
    },
    "checked_at": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "changed",
    "baseline_available",
    "current_hash",
    "previous_hash",
    "change_score",
    "change_type",
    "diff",
    "summary",
    "cached",
    "data_age_seconds",
    "checked_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢verify_claim(claim, freshness_days, preferred_domains)

Paid Freshness / Claim Verifier ($0.02 USDC). Checks a factual claim against fresh web search evidence and returns supported/contradicted/mixed/insufficient/stale with sources. Requires TAVILY_API_KEY. If the key is missing, returns a provider-unavailable error before requesting payment. Claim text is sent to the configured search provider.

入力スキーマ

{
  "type": "object",
  "properties": {
    "claim": {
      "type": "string",
      "minLength": 8,
      "maxLength": 2000
    },
    "freshness_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3650
    },
    "preferred_domains": {
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 253,
        "pattern": "^[a-zA-Z0-9.-]+$"
      }
    }
  },
  "required": [
    "claim"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "claim": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "supported",
        "contradicted",
        "mixed",
        "insufficient_evidence",
        "stale"
      ]
    },
    "confidence": {
      "type": "number"
    },
    "freshness": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "fresh",
            "stale",
            "unknown"
          ]
        },
        "newest_source_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "age_days": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "newest_source_at",
        "age_days"
      ],
      "additionalProperties": false
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_quality": {
            "type": "string"
          },
          "supports": {
            "type": "boolean",
            "const": true
          },
          "snippet": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "title",
          "published_at",
          "source_quality",
          "supports",
          "snippet"
        ],
        "additionalProperties": false
      }
    },
    "conflicting_evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_quality": {
            "type": "string"
          },
          "supports": {
            "type": "boolean",
            "const": false
          },
          "snippet": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "title",
          "published_at",
          "source_quality",
          "supports",
          "snippet"
        ],
        "additionalProperties": false
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "degraded": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "verified_at": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "claim",
    "verdict",
    "confidence",
    "freshness",
    "evidence",
    "conflicting_evidence",
    "warnings",
    "sources",
    "degraded",
    "cached",
    "verified_at"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢estimate_trade_execution(chain, from_asset, to_asset, amount, from_decimals, ...)

Paid Trade Execution Quote ($0.01 USDC). Gets an indicative swap quote before a trade; supports Solana via Jupiter and EVM via 0x when provider keys are configured. Requires token addresses and decimals for custom assets. Returns estimated output and quote source. Read-only: never signs, submits, or executes.

入力スキーマ

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "solana",
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon"
      ]
    },
    "from_asset": {
      "type": "string",
      "minLength": 1,
      "maxLength": 90
    },
    "to_asset": {
      "type": "string",
      "minLength": 1,
      "maxLength": 90
    },
    "amount": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000
    },
    "from_decimals": {
      "type": "integer",
      "minimum": 0,
      "maximum": 36
    },
    "to_decimals": {
      "type": "integer",
      "minimum": 0,
      "maximum": 36
    },
    "max_slippage_bps": {
      "default": 100,
      "type": "integer",
      "minimum": 1,
      "maximum": 500
    },
    "venues": {
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "jupiter",
          "0x"
        ]
      }
    }
  },
  "required": [
    "chain",
    "from_asset",
    "to_asset",
    "amount"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "tool": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latency_ms": {
          "type": "number",
          "minimum": 0
        },
        "partial": {
          "type": "boolean"
        },
        "failed_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "cache": {
          "type": "object",
          "properties": {
            "hit": {
              "type": "boolean"
            },
            "age_ms": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "hit",
            "age_ms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "sources",
        "latency_ms",
        "partial",
        "failed_sources",
        "cache"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "success",
    "tool",
    "timestamp",
    "data",
    "meta"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢analyze_whale_activity

Paid Whale Intelligence ($0.02 USDC). Summarizes large public GeckoTerminal-indexed DEX trades for a token address on a supported chain. Large-trader labels are size-based heuristics, not verified whale identities; data is not chain-wide. Wallet mode uses Helius (Solana) or Etherscan API V2 (EVM) when configured, returning recent indexed transactions only; it does not claim complete balances or whale labels.

入力スキーマ

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "const": "asset"
        },
        "chain": {
          "type": "string",
          "enum": [
            "solana",
            "ethereum",
            "base",
            "arbitrum",
            "optimism",
            "polygon"
          ]
        },
        "asset": {
          "type": "string",
          "minLength": 1,
          "maxLength": 90
        },
        "window": {
          "default": "1h",
          "type": "string",
          "enum": [
            "5m",
            "15m",
            "1h",
            "4h",
            "24h"
          ]
        },
        "min_transaction_usd": {
          "default": 100000,
          "type": "number",
          "minimum": 1,
          "maximum": 1000000000
        },
        "limit": {
          "default": 50,
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [
        "mode",
        "chain",
        "asset"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "const": "wallet"
        },
        "chain": {
          "type": "string",
          "enum": [
            "solana",
            "ethereum",
            "base",
            "arbitrum",
            "optimism",
            "polygon"
          ]
        },
        "address": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "mode",
        "chain",
        "address"
      ],
      "additionalProperties": false
    }
  ]
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "tool": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latency_ms": {
          "type": "number",
          "minimum": 0
        },
        "partial": {
          "type": "boolean"
        },
        "failed_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "cache": {
          "type": "object",
          "properties": {
            "hit": {
              "type": "boolean"
            },
            "age_ms": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "hit",
            "age_ms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "sources",
        "latency_ms",
        "partial",
        "failed_sources",
        "cache"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "success",
    "tool",
    "timestamp",
    "data",
    "meta"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪scan_arbitrage(asset, quote_asset, venues, trade_size_usd, min_net_spread_bps, ...)

Paid Arbitrage Intelligence ($0.03 USDC). Compares Binance and Coinbase public spot order books at a requested trade size and applies caller- or server-configured taker fee assumptions. Rejects stale books. Excludes transfers, inventory rebalancing, and guaranteed execution; does not place orders.

入力スキーマ

{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string",
      "pattern": "^[A-Z0-9]{2,15}$"
    },
    "quote_asset": {
      "default": "USDT",
      "type": "string",
      "enum": [
        "USDT",
        "USDC",
        "USD"
      ]
    },
    "venues": {
      "default": [
        "binance",
        "coinbase"
      ],
      "minItems": 2,
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "binance",
          "coinbase"
        ]
      }
    },
    "trade_size_usd": {
      "type": "number",
      "minimum": 10,
      "maximum": 10000000
    },
    "min_net_spread_bps": {
      "default": 0,
      "type": "number",
      "minimum": 0,
      "maximum": 5000
    },
    "fee_bps_by_venue": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000
      }
    }
  },
  "required": [
    "asset",
    "trade_size_usd"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "tool": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latency_ms": {
          "type": "number",
          "minimum": 0
        },
        "partial": {
          "type": "boolean"
        },
        "failed_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "cache": {
          "type": "object",
          "properties": {
            "hit": {
              "type": "boolean"
            },
            "age_ms": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "hit",
            "age_ms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "sources",
        "latency_ms",
        "partial",
        "failed_sources",
        "cache"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "success",
    "tool",
    "timestamp",
    "data",
    "meta"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪backtest_strategy(market, timeframe, start, end, initial_capital, ...)

Paid Strategy Backtest ($0.10 USDC). Tests built-in long-only spot strategies against bounded public Binance OHLCV history. Signals form at candle close and execute at the next candle open. Applies configured fees/slippage; accepts declarative parameters only and never executes user code. Historical results are not predictions.

入力スキーマ

{
  "type": "object",
  "properties": {
    "market": {
      "type": "string",
      "pattern": "^[A-Z0-9]{4,20}$"
    },
    "timeframe": {
      "type": "string",
      "enum": [
        "1h",
        "4h",
        "1d"
      ]
    },
    "start": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "end": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "initial_capital": {
      "type": "number",
      "minimum": 10,
      "maximum": 100000000
    },
    "fee_bps": {
      "default": 10,
      "type": "number",
      "minimum": 0,
      "maximum": 500
    },
    "slippage_bps": {
      "default": 5,
      "type": "number",
      "minimum": 0,
      "maximum": 500
    },
    "strategy": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "moving_average_crossover",
            "rsi_mean_reversion",
            "momentum",
            "breakout",
            "buy_and_hold"
          ]
        },
        "parameters": {
          "default": {},
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "number"
          }
        }
      },
      "required": [
        "type"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "market",
    "timeframe",
    "start",
    "end",
    "initial_capital",
    "strategy"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "tool": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latency_ms": {
          "type": "number",
          "minimum": 0
        },
        "partial": {
          "type": "boolean"
        },
        "failed_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "cache": {
          "type": "object",
          "properties": {
            "hit": {
              "type": "boolean"
            },
            "age_ms": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "hit",
            "age_ms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "sources",
        "latency_ms",
        "partial",
        "failed_sources",
        "cache"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "success",
    "tool",
    "timestamp",
    "data",
    "meta"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪token_security_audit(chain, token_address)

Paid Token Security Audit ($0.01 USDC). Normalizes GoPlus token-security flags and public EVM RPC metadata for supported EVM tokens. Configure GOPLUS_ACCESS_TOKEN or explicitly enable the bounded public API with GOPLUS_PUBLIC_TOKEN_API_ENABLED=1; if neither is available, no payment is requested. Missing provider fields remain unknown and incomplete coverage returns caution. Reports provider findings separately from deterministic internal scoring. Does not trade or guarantee token safety.

入力スキーマ

{
  "type": "object",
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bsc"
      ]
    },
    "token_address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$"
    }
  },
  "required": [
    "chain",
    "token_address"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "tool": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "meta": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latency_ms": {
          "type": "number",
          "minimum": 0
        },
        "partial": {
          "type": "boolean"
        },
        "failed_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "reason"
            ],
            "additionalProperties": false
          }
        },
        "cache": {
          "type": "object",
          "properties": {
            "hit": {
              "type": "boolean"
            },
            "age_ms": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "hit",
            "age_ms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "sources",
        "latency_ms",
        "partial",
        "failed_sources",
        "cache"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "success",
    "tool",
    "timestamp",
    "data",
    "meta"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢invoice_preflight(document_xml, document_url, document_base64, mime_type, expected)

Paid invoice check ($0.065 USDC on Base): UBL XML or complete PDF/image invoices up to 3 pages. Compares expected purchase fields and line items; returns evidence, amount checks and match/discrepancy/needs_review. No payment or bookkeeping action is taken.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_xml": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000000
    },
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪invoice_preflight_10_pages(document_url, document_base64, mime_type, expected)

Paid invoice OCR ($0.13 USDC on Base): process complete PDF/image invoices up to 10 pages. Oversized PDFs are rejected before OCR.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪invoice_preflight_50_pages(document_url, document_base64, mime_type, expected)

Paid invoice OCR ($0.475 USDC on Base): process complete PDF/image invoices up to 50 pages. Oversized PDFs are rejected before OCR.

入力スキーマ

{
  "type": "object",
  "properties": {
    "document_url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "document_base64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 13500000
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/pdf",
        "image/png",
        "image/jpeg"
      ]
    },
    "expected": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "purchase_order": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "subtotal": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "tax": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "total": {
          "type": "string",
          "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
        },
        "line_items": {
          "minItems": 1,
          "maxItems": 1000,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "minLength": 1,
                "maxLength": 300
              },
              "amount": {
                "type": "string",
                "pattern": "^-?\\d+(?:\\.\\d{1,2})?$"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "match",
        "discrepancy",
        "needs_review"
      ]
    },
    "invoice": {
      "type": "object",
      "properties": {
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "supplier_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "purchase_order": {
          "type": [
            "string",
            "null"
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "subtotal": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax": {
          "type": [
            "string",
            "null"
          ]
        },
        "total": {
          "type": [
            "string",
            "null"
          ]
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": "string"
              }
            },
            "required": [
              "description",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "number",
        "supplier_name",
        "purchase_order",
        "currency",
        "subtotal",
        "tax",
        "total",
        "line_items"
      ],
      "additionalProperties": false
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "match",
              "discrepancy",
              "needs_review"
            ]
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "calculated": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "status"
        ],
        "additionalProperties": false
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "source",
          "text"
        ],
        "additionalProperties": false
      }
    },
    "source_sha256": {
      "type": "string"
    },
    "pages_processed": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "decision",
    "invoice",
    "checks",
    "evidence",
    "source_sha256",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 20 件