← Back to directory

Compose a directed acyclic graph of public x402, MCP, and A2A tools that achieve...

https://agentic.clawbots.org/api/agentic/tools/multi-agent-workflow-designer

Overview

Compose a directed acyclic graph of public x402, MCP, and A2A tools that achieves a stated agent goal. Returns step-by-step plan with tool slug, endpoint URL, protocol, inputs, dependencies, per-step cost and latency, total estimated cost, and an executable plan in either a2a-json-rpc or shell-curl form. Useful for autonomous agents that need to pick which paid tools to chain.

Protocol x402 (POST)
Price $0.10
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider multi-agent-workflow-designer
Source bazaar
Indexed 2026-05-31 02:22:52

Health

Status healthy
Latency (p50) 312ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-28 06:36:55
Last Healthy 2026-10-28 06:36:55
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "budget_usd": 2, "goal": "Sweep the floor of an NFT collection only if the contract is safe and base gas is below 0.2 gwei", "output_format": "a2a-json-rpc" }, "bodyType": "json", "inputSchema": { "additionalProperties": false, "properties": { "budget_usd": { "description": "Maximum total spend across all chained tool calls. Steps over budget are pruned.", "maximum": 1000, "minimum": 0, "type": "number" }, "goal": { "description": "Plain-English agent goal, e.g. 'sweep top 5 floor NFTs in collection X if contract is safe and gas is low'.", "maxLength": 512, "minLength": 8, "type": "string" }, "max_steps": { "description": "Cap on number of steps in the returned DAG.", "maximum": 12, "minimum": 1, "type": "integer" }, "output_format": { "description": "Executable plan format. Defaults to a2a-json-rpc.", "enum": [ "a2a-json-rpc", "shell-curl" ], "type": "string" }, "preferred_protocols": { "description": "Restrict catalog selection to these protocols. Empty = all.", "items": { "enum": [ "x402", "mcp", "a2a", "rest" ], "type": "string" }, "maxItems": 4, "type": "array" } }, "required": [ "goal" ], "type": "object" }, "method": "POST", "type": "http" }

Output Schema

{ "example": { "budget_status": "under_budget", "evidence": { "catalog_entries_considered": 15, "catalog_version": "2026-05-29-r1", "matched_keywords": [ "sweep", "floor", "nft", "gas", "safe", "contract" ] }, "executable_plan": { "format": "a2a-json-rpc", "payload": "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tasks/send\",\"params\":{\"task\":\"sweep-workflow\",\"steps\":[{\"id\":\"s1\",\"tool\":\"gas-oracle\"},{\"id\":\"s2\",\"tool\":\"contract-safety-scanner\",\"after\":[\"s1\"]},{\"id\":\"s3\",\"tool\":\"sweep-quote\",\"after\":[\"s2\"]}]}}" }, "fallbacks": [ { "for_step": "s3", "protocol": "rest", "reason": "Reservoir REST asks endpoint covers sweep pricing if sweep-quote is degraded.", "tool_slug": "reservoir-orders", "tool_url": "https://api.reservoir.tools/orders/asks/v5" } ], "generated_at": "2026-05-29T17:45:00Z", "goal": "Sweep the floor of an NFT collection only if the contract is safe and base gas is below 0.2 gwei", "output_format": "a2a-json-rpc", "steps": [ { "category": "gas", "cost_usd": 0.01, "depends_on": [], "inputs": { "network": "base" }, "latency_ms": 800, "protocol": "x402", "rationale": "Check current Base gas before any onchain action.", "step_id": "s1", "tool_slug": "gas-oracle", "tool_url": "https://www.clawbots.org/api/tools/gas-oracle" }, { "category": "safety", "cost_usd": 0.25, "depends_on": [ "s1" ], "inputs": { "address": "<collection_address>" }, "latency_ms": 2500, "protocol": "x402", "rationale": "Verify collection contract before committing capital.", "step_id": "s2", "tool_slug": "contract-safety-scanner", "tool_url": "https://www.clawbots.org/api/tools/contract-safety-scanner" }, { "category": "nft-market", "cost_usd": 0.1, "depends_on": [ "s2" ], "inputs": { "collection": "<collection_address>", "size": 5 }, "latency_ms": 1500, "protocol": "x402", "rationale": "Price the floor sweep after safety clears.", "step_id": "s3", "tool_slug": "sweep-quote", "tool_url": "https://www.clawbots.org/api/tools/sweep-quote" } ], "total_cost_usd": 0.36, "total_latency_ms_estimate": 4800 }, "type": "json" }