Agent402.Tools: pay-per-call web tools
Agentic Finance: 500+ agent tools, multi-chain USDC over x402 or MPP, or free via proof-of-work
使うべきか
品質と安全性
検出事項(19)
- HIGH
- MEDIUMdemand.request 内
- LOWdecide.feedback 内
- LOWcatalog.search 内
- LOWcatalog.find 内
- LOWcatalog.call 内
- LOWpayment.info 内
- LOWweb.search 内
- LOWweb.answer 内
- LOWweb.news 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"agent402": {
"command": "npx",
"args": [
"agent402-mcp"
]
}
}
}実行可能なパッケージ
0.14.0stdioリモートエンドポイント
https://agent402.tools/mcpstreamable-httpできること
ツール一覧
ツール(16)
🟢catalog.search(query, limit)
Keyword search over the Agent402 catalog of 500+ tools (636 loaded by this connector). Returns { results, workflows }; run one with catalog.call. 177 pure-CPU tools run free here (proof-of-work). The others are paid per call, payable here in the call over x402 or MPP (the payment rides in _meta), or through npx agent402-mcp with a wallet.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What you need, e.g. \"search the web for x402\", \"answer a question with citations\", \"decode JWT\""
},
"limit": {
"type": "number",
"description": "Max results (default 10)"
}
},
"required": [
"query"
]
}出力スキーマ
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Catalog tool slug (kebab-case)"
},
"price": {
"type": "string",
"description": "List price, e.g. $0.001"
},
"access": {
"type": "string",
"description": "free here vs wallet required"
},
"description": {
"type": "string"
},
"inputSchema": {
"type": "object",
"description": "JSON Schema for the tool's params",
"additionalProperties": true
},
"name": {
"type": "string"
},
"example": {
"description": "Worked example input"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"callWith": {
"type": "object",
"description": "Ready-to-run catalog.call invocation",
"properties": {
"name": {
"type": "string"
},
"arguments": {
"type": "object",
"additionalProperties": true
}
}
}
}
},
"description": "Matching catalog tools"
},
"workflows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"tagline": {
"type": "string"
},
"toolCount": {
"type": "integer"
},
"promptName": {
"type": "string"
},
"price": {
"type": "string"
},
"route": {
"type": "string"
},
"score": {
"type": "number"
}
},
"additionalProperties": true
},
"description": "Matching skill-pack workflows"
},
"workflowsUsage": {
"type": "string"
},
"hint": {
"type": "string",
"description": "Shown when the match is weak - points at demand.request"
},
"usage": {
"type": "string"
},
"message": {
"type": "string",
"description": "Present when nothing matched"
}
},
"required": [
"results"
]
}🟢catalog.find(task, limit)
Resolve a plain-language task to the single best-matching Agent402 tool, returned call-ready: slug, price, input schema and a worked example. Use catalog.search to compare several candidates. Returns { task, results } with the top pick first; run it with catalog.call and the slug and params it lists.
入力スキーマ
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "What you want to do, e.g. \"search the web for x402 adoption\" or \"convert miles to km\""
},
"limit": {
"type": "number",
"description": "Max results (default 5)"
}
},
"required": [
"task"
]
}出力スキーマ
{
"type": "object",
"properties": {
"task": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Catalog tool slug (kebab-case)"
},
"price": {
"type": "string",
"description": "List price, e.g. $0.001"
},
"access": {
"type": "string",
"description": "free here vs wallet required"
},
"description": {
"type": "string"
},
"inputSchema": {
"type": "object",
"description": "JSON Schema for the tool's params",
"additionalProperties": true
},
"name": {
"type": "string"
},
"example": {
"description": "Worked example input"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"callWith": {
"type": "object",
"description": "Ready-to-run catalog.call invocation",
"properties": {
"name": {
"type": "string"
},
"arguments": {
"type": "object",
"additionalProperties": true
}
}
}
}
},
"description": "Ranked matches; top pick first"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Catalog tool slug (kebab-case)"
},
"price": {
"type": "string",
"description": "List price, e.g. $0.001"
},
"access": {
"type": "string",
"description": "free here vs wallet required"
},
"description": {
"type": "string"
},
"inputSchema": {
"type": "object",
"description": "JSON Schema for the tool's params",
"additionalProperties": true
},
"name": {
"type": "string"
},
"example": {
"description": "Worked example input"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"callWith": {
"type": "object",
"description": "Ready-to-run catalog.call invocation",
"properties": {
"name": {
"type": "string"
},
"arguments": {
"type": "object",
"additionalProperties": true
}
}
}
}
},
"description": "Alias of results on the stdio package"
},
"workflows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"tagline": {
"type": "string"
},
"toolCount": {
"type": "integer"
},
"promptName": {
"type": "string"
},
"price": {
"type": "string"
},
"route": {
"type": "string"
},
"score": {
"type": "number"
}
},
"additionalProperties": true
}
},
"workflowsUsage": {
"type": "string"
},
"relatedSellers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"plan": {
"type": "object",
"additionalProperties": true,
"description": "Present when the task names several steps: each step ranked by this free search (no model), with an estimated total and the paid decide upgrade"
},
"hint": {
"type": "string"
},
"usage": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"task"
]
}🔴catalog.call(slug, params)
Run an Agent402 tool by slug, with params matching that tool's inputSchema; find slugs with catalog.find or catalog.search. The 177 pure-CPU tools run free here, rate-limited, through proof-of-work. Paid tools are payable here, in the call, over x402 or MPP (the first answer carries the ask). An unknown slug returns an error.
入力スキーマ
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Tool slug, e.g. \"search\" or \"unit-convert\""
},
"params": {
"type": "object",
"description": "Tool input, matching the tool's inputSchema"
}
},
"required": [
"slug"
]
}出力スキーマ
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Catalog slug that ran"
},
"result": {
"description": "Native tool output (shape depends on slug)",
"additionalProperties": true
},
"answerBound": {
"type": "object",
"description": "Present only when a free answer was cut to the connector's size ceiling: unit, maxBytes, returned, matched, complete, truncated, cuts (one entry per cut list, string or object: path, kind, returned, matched, complete, truncated), cutsListed (entries in cuts) and cutsTotal (every cut made)",
"additionalProperties": true
}
},
"required": [
"slug",
"result"
],
"description": "Envelope around the invoked catalog tool's native JSON result"
}🟢payment.info
How paying for Agent402 tools works. This connector holds no wallet: 177 pure-CPU tools run free through proof-of-work, and the rest settle in USDC over x402 or MPP (payable here, in the call, over x402 or MPP). Covers wallet setup, per-call and session spend caps, the payment rails, and checking a wallet's balance. Returns { connector, freeTier, pay, spendControls, balanceAndHistory }.
入力スキーマ
{
"type": "object",
"properties": {}
}出力スキーマ
{
"type": "object",
"properties": {
"connector": {
"type": "string"
},
"freeTier": {
"type": "object",
"additionalProperties": true
},
"pay": {
"type": "object",
"additionalProperties": true
},
"spendControls": {
"additionalProperties": true
},
"balanceAndHistory": {
"type": "object",
"additionalProperties": true
},
"emptyWallet": {
"type": "object",
"description": "What to do with an empty wallet: state, whoActs, command, wait",
"additionalProperties": true
},
"mppStartHere": {
"type": "object",
"description": "MPP start-here routes (slug, method, path, url, price, why)",
"additionalProperties": true
},
"service": {
"type": "string"
},
"mode": {
"type": "string"
},
"wallet": {
"description": "EVM address when a key is configured"
},
"solanaWallet": {
"description": "Solana address when a key is configured"
},
"network": {
"type": "string"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"tools": {
"type": "integer"
},
"payableWithCompute": {
"type": "integer"
},
"walletOnly": {
"type": "integer"
},
"workflows": {
"description": "Skill-pack count or detail object"
},
"note": {
"type": "string"
},
"install": {
"type": "object",
"additionalProperties": true
},
"positioning": {
"type": "string"
},
"ecosystem": {
"type": "string"
}
},
"additionalProperties": true
}🟢web.search(q, count, freshness)
Paid ($0.01/call): Live web search: ranked results[] of {title, url, description (the snippet, plain text), age, publishedAt (ISO)} from an independent search index as clean JSON - fresh pages your model's training cutoff has never seen. Optional freshness filter (pd/pw/pm/py = past day/week/month/year). It DISCOVERS pages; extract then reads the winner.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query (max 400 chars)"
},
"count": {
"type": "number",
"description": "Results to return, 1-20 (default 10)"
},
"freshness": {
"type": "string",
"description": "Optional: pd, pw, pm, or py (past day/week/month/year)"
}
},
"required": [
"q"
]
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"count": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"age": {
"type": [
"string",
"null"
]
}
}
}
},
"untrustedContent": {
"type": "boolean"
}
},
"required": [
"query",
"results"
]
}🟢web.answer(q, country, language, max_tokens)
Paid ($0.08/call): AI-generated answer to a natural-language question, grounded in live web search results with source citations. Returns clean prose plus a structured citations array (URL, snippet, favicon) - backed by an independent search index, not the model's training data. Useful when an agent needs a synthesized answer plus the receipts to verify or follow up.
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Natural-language question (max 400 chars)"
},
"country": {
"type": "string",
"description": "Optional 2-letter country code (default us)"
},
"language": {
"type": "string",
"description": "Optional 2-letter language code (default en)"
},
"max_tokens": {
"type": "integer",
"description": "Optional cap on the generated answer length in tokens (default 1024, min 64, max 4096). Lower for TL;DR; higher for research questions."
}
},
"required": [
"q"
]
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"answer": {
"type": "string"
},
"citations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"snippet": {
"type": "string"
},
"favicon": {
"type": "string"
},
"number": {
"type": "integer"
}
},
"additionalProperties": true
}
},
"citationCount": {
"type": "integer"
},
"share": {
"type": [
"object",
"null"
],
"properties": {
"url": {
"type": "string"
},
"cardUrl": {
"type": "string"
},
"expiresAt": {
"type": "string"
}
}
}
},
"required": [
"query",
"answer"
]
}🟢web.news(q, count, freshness, country)
Paid ($0.01/call): Live news search: ranked recent articles as results[] of {title, url, description (the snippet, plain text), age, publishedAt (ISO), source (publisher hostname), breaking} from an independent search index as clean JSON. Same freshness filter as web search (pd/pw/pm/py = past day/week/month/year).
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query (max 400 chars)"
},
"count": {
"type": "number",
"description": "Results to return, 1-50 (default 10)"
},
"freshness": {
"type": "string",
"description": "Optional: pd, pw, pm, or py (past day/week/month/year)"
},
"country": {
"type": "string",
"description": "Optional 2-letter country code (default US)"
}
},
"required": [
"q"
]
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"count": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"age": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"breaking": {
"type": "boolean"
}
},
"additionalProperties": true
}
}
},
"required": [
"query",
"results"
]
}🟢browser.render(url)
Paid ($0.003/call): Read a page as clean markdown, rendering it in a real headless Chromium browser (JavaScript executed) when the page needs it. Use this for SPAs and JS-heavy sites where plain fetching returns an empty shell; a page whose served HTML already carries its content is read without the browser, faster, and answers rendered: false.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public http(s) URL to render"
}
},
"required": [
"url"
]
}出力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"wordCount": {
"type": "integer"
},
"markdown": {
"type": "string"
},
"rendered": {
"type": "boolean"
},
"untrustedContent": {
"type": "boolean"
}
},
"required": [
"url",
"markdown"
]
}🟡audio.transcribe(url, language, diarize)
Paid ($0.030/call): Transcribe audio to text with the gpt-transcribe model. Provide a URL to an audio file (mp3, wav, m4a, etc.) and get back the transcript. Add diarize:true for speaker labels, word timestamps and a language confidence score (the scribe-v2 model, same price). No API key needed; pay per call via x402.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL of the audio file to transcribe (mp3, wav, m4a, ogg, flac, webm)"
},
"language": {
"type": "string",
"description": "Optional ISO-639-1 language code (e.g. 'en', 'es', 'fr') for better accuracy"
},
"diarize": {
"type": "boolean",
"description": "true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`) and `language_confidence` (0 to 1, the model's confidence in the detected language). Same price and cap. Default false"
}
},
"required": [
"url"
]
}出力スキーマ
{
"type": "object",
"properties": {
"model": {
"type": "string"
},
"provider": {
"type": "string"
},
"text": {
"type": "string"
},
"language": {
"type": "string"
},
"duration": {
"type": "number"
},
"trimmedToCapSeconds": {
"type": "number",
"description": "Present only when the file's length could not be confirmed: the audio was transcribed up to this many seconds (the tier's cap)"
},
"durationUnconfirmed": {
"type": "boolean",
"description": "Present (true) only with trimmedToCapSeconds: the file's full length was not confirmed"
}
},
"required": [
"text"
]
}🟡memory.read(key, owner)
Paid ($0.001/call): Read from a wallet-scoped namespace. ?key=… returns the stored value; omit key to list keys. The read half of memory-write's exact-key store. For similarity retrieval over remembered text, call the catalog slug memory-recall (on MCP, through catalog.call). Reads your own namespace by default; add ?owner=0x… to read a namespace you've been granted access to.
入力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Key to read; omit to list all keys"
},
"owner": {
"type": "string",
"description": "Optional 0x namespace to read (requires a grant)"
}
}
}出力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"description": "Stored JSON value when reading a key"
},
"keys": {
"type": "array",
"description": "Present in list mode (no key)",
"items": {
"type": "object",
"additionalProperties": true
}
},
"owner": {
"type": "string"
},
"persistent": {
"type": "boolean"
},
"updated": {
"type": "number"
},
"exp": {
"description": "Expiry unix seconds or null"
}
},
"additionalProperties": true
}🔴memory.write(key, value, ttlSeconds, owner, delete, ...)
Paid ($0.001/call): Persistent key-value memory for agents, scoped to the paying wallet. Your x402 payment IS your authentication: the wallet that pays owns the namespace. No signup, no API keys. Exact-key storage for structured state. For retrieval by MEANING rather than key, use the catalog slugs memory-remember and memory-recall (on MCP, through catalog.call with that slug).
入力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Key to write (max 256 chars)"
},
"value": {
"description": "Any JSON value (max 64KB serialized)"
},
"ttlSeconds": {
"type": "number",
"description": "Optional: auto-expire the key after N seconds"
},
"owner": {
"type": "string",
"description": "Optional 0x namespace to write into (requires a readwrite grant)"
},
"delete": {
"type": "boolean",
"description": "Set true to delete the key instead"
},
"requestId": {
"type": "string",
"description": "Optional client id for this write; a retry with the same id returns the first answer"
}
},
"required": [
"key"
]
}出力スキーマ
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"bytes": {
"type": "integer"
},
"updated": {
"type": "number"
},
"expiresAt": {
"type": [
"number",
"null"
],
"description": "Expiry in unix seconds; null when the key does not expire"
},
"owner": {
"type": "string"
},
"persistent": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
}
},
"required": [
"key"
],
"additionalProperties": true
}🟢decide.plan(task, depth, constraints)
Paid ($0.010/call): Describe a job and get a call-ready plan: which tools, across this catalog and outside x402 sellers with a recently verified 402, solve it end to end, in what order, with fallbacks and input params that validate against each tool's schema.
入力スキーマ
{
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "What the agent needs done (max 2000 chars)"
},
"depth": {
"type": "string",
"enum": [
"quick",
"plan",
"full"
],
"description": "quick | plan (default) | full"
},
"constraints": {
"type": "object",
"description": "maxBudgetUsd, maxLatencyMs, rails [x402|mpp], chains [CAIP-2 or namespace], excludeSellers [host], requireDeterministic"
}
},
"required": [
"task"
]
}出力スキーマ
{
"type": "object",
"properties": {
"decisionId": {
"type": "string"
},
"task": {
"type": "string"
},
"depth": {
"type": "string"
},
"plan": {
"type": "array",
"items": {
"type": "object"
}
},
"estimatedCostUsd": {
"type": "number"
},
"estimatedLatencyMs": {
"type": "number"
},
"confidence": {
"type": "number"
},
"gaps": {
"type": "array"
},
"priceUsd": {
"type": "number"
},
"executionCredit": {
"type": "object",
"additionalProperties": true
},
"feedbackToken": {
"type": "string"
}
},
"additionalProperties": true
}🟡decide.execute(decisionId, steps, creditToken, maxBudgetUsd, params, ...)
Paid ($0.001/call): Run a decision's plan (decisionId from POST /api/decide), or a free plan sketch (steps), through Agent402: first-party steps run directly, third-party steps are bought from the seller and resold to you at Agent402's price (paid with a wallet on Base; prepaid credits and cards do not pay this route).
入力スキーマ
{
"type": "object",
"properties": {
"decisionId": {
"type": "string",
"description": "From POST /api/decide (or pass steps instead)"
},
"steps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Instead of decisionId: the tool slugs of a free plan sketch (from /api/find or /api/route), 2 to 5, in order. Pass params for step 1; a later step takes its one required input from the step before."
},
"creditToken": {
"type": "string",
"description": "executionCredit.token from that decision (optional)"
},
"maxBudgetUsd": {
"type": "number",
"description": "Spend ceiling for the run (default: the plan's estimate via Agent402)"
},
"params": {
"type": "object",
"description": "Per-step params overriding the plan's exampleParams, keyed by step number"
},
"replan": {
"type": "boolean",
"description": "With decisionId: plan the saved task again on current prices and reliability, then run the new plan. Adds the plan price for that decision's depth to the quote; the answer's replanned field lists what changed. Default false."
}
},
"required": []
}出力スキーマ
{
"type": "object",
"properties": {
"runId": {
"type": "string"
},
"decisionId": {
"type": "string"
},
"status": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"budgetUsd": {
"type": "number"
},
"spentUsd": {
"type": "number"
},
"paidUsd": {
"type": "number"
},
"creditAppliedUsd": {
"type": "number"
},
"routingFeePct": {
"type": "number"
},
"leftoverCredit": {
"type": [
"string",
"number",
"boolean",
"object",
"array",
"null"
]
}
},
"additionalProperties": true
}🟡demand.request(need, context)
[free] Report a capability the 500+ tools do not cover, after catalog.search or catalog.find found nothing that fits. Requests are clustered by need, and frequent ones get built. Records demand only: it runs nothing. Same intake as POST https://agent402.tools/api/wish; aggregate demand is public at https://agent402.tools/api/wishes.
入力スキーマ
{
"type": "object",
"properties": {
"need": {
"type": "string",
"maxLength": 500,
"description": "What you needed and could not find, in plain language, e.g. \"convert a HEIC image to JPEG\" or \"look up a UK company by registration number\""
},
"context": {
"type": "string",
"maxLength": 300,
"description": "Optional: what you were trying to accomplish, or the input you had - helps disambiguate similar-sounding requests."
}
},
"required": [
"need"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"id": {
"type": "string"
},
"need": {
"type": "string"
},
"clustered": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"additionalProperties": true
}🟢server.describe
[free] Describe this connector: the tools it lists, how to install (Claude Code / Cursor / npm), free vs paid tiers, and discovery URLs.
入力スキーマ
{
"type": "object",
"properties": {},
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"frontDoor": {
"type": "object",
"properties": {
"firstCall": {
"type": "string"
},
"access": {
"type": "string"
},
"use": {
"type": "string"
},
"guide": {
"type": "string"
}
},
"additionalProperties": true
},
"service": {
"type": "string"
},
"connector": {
"type": "string"
},
"maintainer": {
"type": "string"
},
"startHere": {
"type": "object",
"additionalProperties": true
},
"install": {
"type": "object",
"additionalProperties": true
},
"tools": {
"type": "integer"
},
"toolsEvergreen": {
"type": "string"
},
"freeHere": {
"type": "integer"
},
"walletOnly": {
"type": "integer"
},
"rateLimit": {
"type": "string"
},
"workflows": {
"type": "object",
"additionalProperties": true
},
"clientsSeenSinceBoot": {
"type": "object",
"additionalProperties": true
},
"paidAccess": {
"type": "string"
},
"ecosystem": {
"type": "string"
},
"missingATool": {
"type": "string"
},
"docs": {
"type": "string"
}
},
"required": [
"service",
"maintainer",
"startHere"
],
"additionalProperties": true
}⚪decide.feedback(decisionId, feedbackToken, step, outcome, quality, ...)
[free] Report whether one step of a decide.plan decision worked (success or failure, optional 1-5 quality and latency). Needs the decisionId and feedbackToken that decide.plan returned; one verdict per step, a later report replaces it. Reports feed tool reliability in future rankings.
入力スキーマ
{
"type": "object",
"properties": {
"decisionId": {
"type": "string"
},
"feedbackToken": {
"type": "string"
},
"step": {
"type": "integer",
"minimum": 1
},
"outcome": {
"type": "string",
"enum": [
"success",
"failure"
]
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"latencyMs": {
"type": "integer",
"minimum": 0
},
"toolId": {
"type": "string",
"description": "Optional: a fallback you used instead of the step's primary tool"
}
},
"required": [
"decisionId",
"feedbackToken",
"step",
"outcome"
],
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"decisionId": {
"type": "string"
},
"step": {
"type": "integer"
},
"toolId": {
"type": "string"
},
"outcome": {
"type": "string"
},
"replaced": {
"type": "boolean"
}
}
}コミュニティ
エビデンス