{
  "x402Version": 2,
  "id": 7054,
  "slug": "7054",
  "resource": "https://toll402.dev/v1/forge",
  "description": "Create a NEW tool from a description, an input schema and test examples. The code is generated, run in a sandbox against your examples (up to 3 attempts), and on success published as a paid endpoint /v1/t/<name> for every agent. Infinite tools, on demand.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x318d34fa0bd69eff17fac648d2df8cf7a88b3dbe",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "description": "Return the top N Hacker News story titles and URLs from https://hacker-news.firebaseio.com/v0/topstories.json and /v0/item/<id>.json",
            "examples": [
              {
                "input": {
                  "n": 3
                }
              }
            ],
            "inputSchema": {
              "properties": {
                "n": {
                  "type": "integer"
                }
              },
              "required": [
                "n"
              ],
              "type": "object"
            },
            "name": "hn_top",
            "priceUsd": 0.005
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "attempts": 1,
            "published": true,
            "tool": {
              "name": "hn_top",
              "price": "$0.005",
              "url": "https://toll402.dev/v1/t/hn_top"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "allowNetwork": {
                    "default": true,
                    "description": "Whether the tool may call public HTTP endpoints",
                    "type": "boolean"
                  },
                  "creator": {
                    "description": "Your wallet address or agent id, for attribution",
                    "maxLength": 80,
                    "type": "string"
                  },
                  "description": {
                    "description": "What the tool does, precisely. Mention data sources (public URLs/APIs without keys) if any.",
                    "maxLength": 1000,
                    "minLength": 20,
                    "type": "string"
                  },
                  "examples": {
                    "description": "Test cases; the tool must pass them to be published",
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "expectedOutput": {},
                        "input": {
                          "additionalProperties": true,
                          "type": "object"
                        }
                      },
                      "required": [
                        "input"
                      ],
                      "type": "object"
                    },
                    "maxItems": 5,
                    "minItems": 1,
                    "type": "array"
                  },
                  "inputSchema": {
                    "additionalProperties": true,
                    "description": "JSON Schema (type object) for the input",
                    "type": "object"
                  },
                  "name": {
                    "description": "Tool name (becomes the endpoint slug)",
                    "maxLength": 40,
                    "minLength": 3,
                    "type": "string"
                  },
                  "outputSchema": {
                    "additionalProperties": true,
                    "description": "JSON Schema for the output (recommended)",
                    "type": "object"
                  },
                  "priceUsd": {
                    "default": 0.005,
                    "description": "Price per call for other agents (you never pay to use your own tool's endpoint less than this either)",
                    "maximum": 0.05,
                    "minimum": 0.001,
                    "type": "number"
                  },
                  "tags": {
                    "default": [],
                    "items": {
                      "maxLength": 30,
                      "type": "string"
                    },
                    "maxItems": 8,
                    "type": "array"
                  }
                },
                "required": [
                  "name",
                  "description",
                  "inputSchema",
                  "examples"
                ],
                "type": "object"
              },
              "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "toll402.dev",
  "lastUpdated": "2026-09-08T00:02:43.452Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-08T00:02:43.309Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "toll402.dev",
    "manifest_name": "toll402.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}