Why pay for this?
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Ranks route candidates, layers in public provider context, and returns a compact capability routing board.
Rank paid route candidates, price ceilings, and next actions for one capability request.
Endpoint: /v1/recipes/capability-route-budget-pack/run
Capabilities: routing, provider-selection, capability-pack, budgeting
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Ranks route candidates, layers in public provider context, and returns a compact capability routing board.
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": "Load capability routes",
"request": {
"params": {
"limit": 5,
"strategy": "balanced",
"capability": "{{ $.input.capability }}"
},
"sourceId": "route_capability_candidates",
"deliveryFormat": "json"
}
}
{
"id": "search",
"kind": "fetch_transform",
"title": "Search capability context",
"request": {
"params": {
"count": 5,
"query": "{{ $.input.capability }} x402 provider api pricing reliability"
},
"sourceId": "stableenrich_exa_search",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build capability route budget pack",
"request": {
"params": {
"input": {
"routes": "{{ $.stepsById.routes.output }}",
"capability": "{{ $.input.capability }}",
"maxPriceUsdc": "{{ $.input.maxPriceUsdc }}",
"publicContext": "{{ $.stepsById.search.output }}",
"responseFormat": "{{ $.input.responseFormat }}"
},
"prompt": "Build a compact capability route budget pack. Focus on the best route candidates, the reasons they fit, public search signals, and concrete next actions for an operator.",
"responseSchema": {
"type": "object",
"required": [
"capability",
"responseFormat",
"summary",
"recommendedRoutes",
"routeBoard",
"searchSignals",
"nextActions"
],
"properties": {
"summary": {
"type": "string"
},
"capability": {
"type": "string"
},
"routeBoard": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"priority",
"note"
],
"properties": {
"note": {
"type": "string"
},
"title": {
"type": "string"
},
"priority": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
}
},
"additionalProperties": false
},
"description": "Compact provider routing board."
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested next actions."
},
"searchSignals": {
"type": "array",
"items": {
"type": "string"
},
"description": "Public search signals that matter for route choice."
},
"responseFormat": {
"type": "string"
},
"recommendedRoutes": {
"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
}
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing route selection into a bounded operator board. Stay grounded in the supplied route shortlist and public context, and keep the output compact."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}