Why pay for this?
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~7k tokens saved.
Ranks visible paid routes and compresses the provider tradeoffs into one switchboard brief.
Rank visible paid routes for one capability and compress the tradeoffs into one switchboard brief.
Endpoint: /v1/recipes/provider-switchboard-brief/run
Capabilities: provider-switchboard, route-selection, provider-comparison, x402
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~7k tokens saved.
Ranks visible paid routes and compresses the provider tradeoffs into one switchboard brief.
Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21
Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs
Source: Route Capability Candidates
Step id: routes
Source: Stableenrich Exa Search
Step id: search
Source: Google Gemini Flash Structured
Step id: summarize
| Run | Status | Trigger | Queued |
|---|---|---|---|
| No recent runs recorded yet. Runs appear here after the first paid execution. | |||
{
"id": "routes",
"kind": "fetch_transform",
"title": "Rank candidate routes",
"request": {
"params": {
"limit": 5,
"network": "{{ $.input.network }}",
"capability": "{{ $.input.capability }}",
"responseFormat": "{{ $.input.responseFormat }}"
},
"sourceId": "route_capability_candidates",
"deliveryFormat": "json"
}
}
{
"id": "search",
"kind": "fetch_transform",
"title": "Search provider context",
"request": {
"params": {
"count": 5,
"query": "{{ $.input.capability }} x402 provider api pricing trust"
},
"sourceId": "stableenrich_exa_search",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build provider switchboard brief",
"request": {
"params": {
"input": {
"routes": "{{ $.stepsById.routes.output }}",
"network": "{{ $.input.network }}",
"capability": "{{ $.input.capability }}",
"publicContext": "{{ $.stepsById.search.output }}",
"responseFormat": "{{ $.input.responseFormat }}"
},
"prompt": "Prepare a provider switchboard brief. Focus on the recommended route, comparison tradeoffs, and next actions.",
"responseSchema": {
"type": "object",
"required": [
"capability",
"summary",
"recommendedRoute",
"comparisonRows",
"tradeoffs",
"nextActions"
],
"properties": {
"summary": {
"type": "string"
},
"tradeoffs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tradeoffs."
},
"capability": {
"type": "string"
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Next actions."
},
"comparisonRows": {
"type": "array",
"items": {
"type": "object",
"required": [
"endpointId",
"resource",
"priceUsdc",
"score"
],
"properties": {
"score": {
"type": "number"
},
"resource": {
"type": "string"
},
"priceUsdc": {
"type": "number"
},
"endpointId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"recommendedRoute": {
"type": "object",
"required": [
"endpointId",
"resource",
"priceUsdc",
"score"
],
"properties": {
"score": {
"type": "number"
},
"resource": {
"type": "string"
},
"priceUsdc": {
"type": "number"
},
"endpointId": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"systemInstruction": "You are preparing a compact provider switchboard brief. Stay grounded in the supplied route shortlist and public context only."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}