{
  "x402Version": 2,
  "id": 27834,
  "slug": "27834",
  "resource": "https://agent402.tools/api/decide",
  "description": "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, input params that validate against each tool's schema, and cost/latency estimates. Priced by depth: quick (one best tool), plan (steps + fallbacks), full (plan + params + compiled prompt). The fee comes back as a credit toward running the plan with POST /api/decide/execute.",
  "type": "http",
  "serviceName": "Decide: tool plan for a task",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1788138502/bazaar-icons/478aced8e219894c.png",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:43114",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:1329",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "21000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42220",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "stellar:pubnet",
      "payTo": "GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL",
      "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
      "amount": "200000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=",
      "payTo": "C7IIHG7SPLPZ5H7ZT6HW3UV2OQMQQE6Y2HBNGZXSLRJULE42BEE2OY2XIE",
      "asset": "31566704",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "depth": "plan",
            "task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cached": false,
            "confidence": 0.92,
            "decisionId": "dec_2b1c9e0f4a7d4c3e9b8a1f00",
            "depth": "plan",
            "estimatedCostUsd": 0.02,
            "estimatedCostViaAgent402Usd": 0.02,
            "estimatedLatencyMs": 1500,
            "gaps": [],
            "neutrality": "Every candidate is scored by one formula with the same weights: fit to the step, observed reliability, price, schema quality and a freshness pass mark. It has no term for who sells the tool, and every tool carries firstParty. Fit is judged from the same bounded description for every tool; reliability counts one observation per payer per day. Outside tools are eligible when a live 402 was seen within the configured window and their input schema is known.",
            "partial": false,
            "plan": [
              {
                "dependsOn": [],
                "fallbacks": [],
                "purpose": "search recent sources on the EU AI Act GPAI obligations",
                "score": 0.801,
                "step": 1,
                "tool": {
                  "endpoint": "https://agent402.tools/api/search",
                  "exampleParams": {
                    "q": "EU AI Act general-purpose AI model obligations 2026"
                  },
                  "exampleParamsSource": "task",
                  "executeViaAgent402Usd": 0.02,
                  "firstParty": true,
                  "id": "a1b2",
                  "inputSchema": {
                    "properties": {
                      "q": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "q"
                    ],
                    "type": "object"
                  },
                  "method": "GET",
                  "name": "Web search",
                  "networks": [
                    "eip155:8453"
                  ],
                  "priceUsd": 0.02,
                  "rail": "x402",
                  "rails": [
                    "x402",
                    "mpp"
                  ],
                  "seller": "agent402",
                  "slug": "search"
                },
                "why": "fit 0.92, score 0.801"
              }
            ],
            "priceUsd": 0.02,
            "ranking": {
              "firstPartyWeight": 0,
              "weights": {
                "fit": 0.45,
                "freshness": 0.1,
                "price": 0.15,
                "reliability": 0.2,
                "schema": 0.1
              }
            },
            "task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "constraints": {
                    "description": "maxBudgetUsd, maxLatencyMs, rails [x402|mpp], chains [CAIP-2 or namespace], excludeSellers [host], requireDeterministic",
                    "type": "object"
                  },
                  "depth": {
                    "description": "quick | plan (default) | full",
                    "enum": [
                      "quick",
                      "plan",
                      "full"
                    ],
                    "type": "string"
                  },
                  "task": {
                    "description": "What the agent needs done (max 2000 chars)",
                    "type": "string"
                  }
                },
                "required": [
                  "task"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "agent",
    "agents",
    "routing",
    "planning",
    "discovery",
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "agent402.tools",
  "lastUpdated": "2026-10-08T06:13:54.466Z",
  "quality": {
    "calls30d": 234,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:13:54.265Z"
  },
  "metadata": {
    "serviceName": "Decide: tool plan for a task",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1788138502/bazaar-icons/478aced8e219894c.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "depth": "plan",
              "task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "cached": false,
              "confidence": 0.92,
              "decisionId": "dec_2b1c9e0f4a7d4c3e9b8a1f00",
              "depth": "plan",
              "estimatedCostUsd": 0.02,
              "estimatedCostViaAgent402Usd": 0.02,
              "estimatedLatencyMs": 1500,
              "gaps": [],
              "neutrality": "Every candidate is scored by one formula with the same weights: fit to the step, observed reliability, price, schema quality and a freshness pass mark. It has no term for who sells the tool, and every tool carries firstParty. Fit is judged from the same bounded description for every tool; reliability counts one observation per payer per day. Outside tools are eligible when a live 402 was seen within the configured window and their input schema is known.",
              "partial": false,
              "plan": [
                {
                  "dependsOn": [],
                  "fallbacks": [],
                  "purpose": "search recent sources on the EU AI Act GPAI obligations",
                  "score": 0.801,
                  "step": 1,
                  "tool": {
                    "endpoint": "https://agent402.tools/api/search",
                    "exampleParams": {
                      "q": "EU AI Act general-purpose AI model obligations 2026"
                    },
                    "exampleParamsSource": "task",
                    "executeViaAgent402Usd": 0.02,
                    "firstParty": true,
                    "id": "a1b2",
                    "inputSchema": {
                      "properties": {
                        "q": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "q"
                      ],
                      "type": "object"
                    },
                    "method": "GET",
                    "name": "Web search",
                    "networks": [
                      "eip155:8453"
                    ],
                    "priceUsd": 0.02,
                    "rail": "x402",
                    "rails": [
                      "x402",
                      "mpp"
                    ],
                    "seller": "agent402",
                    "slug": "search"
                  },
                  "why": "fit 0.92, score 0.801"
                }
              ],
              "priceUsd": 0.02,
              "ranking": {
                "firstPartyWeight": 0,
                "weights": {
                  "fit": 0.45,
                  "freshness": 0.1,
                  "price": 0.15,
                  "reliability": 0.2,
                  "schema": 0.1
                }
              },
              "task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "constraints": {
                      "description": "maxBudgetUsd, maxLatencyMs, rails [x402|mpp], chains [CAIP-2 or namespace], excludeSellers [host], requireDeterministic",
                      "type": "object"
                    },
                    "depth": {
                      "description": "quick | plan (default) | full",
                      "enum": [
                        "quick",
                        "plan",
                        "full"
                      ],
                      "type": "string"
                    },
                    "task": {
                      "description": "What the agent needs done (max 2000 chars)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "task"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_b4aw4uzd"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent402.tools",
    "manifest_name": "agent402.tools",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}