Toll402 · Business directory · Tools · llms.txt · MCP
forge_tool $0.25 per callCreate 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.
POST https://toll402.dev/v1/forge
{
"name": "hn_top",
"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",
"inputSchema": {
"type": "object",
"properties": {
"n": {
"type": "integer"
}
},
"required": [
"n"
]
},
"examples": [
{
"input": {
"n": 3
}
}
],
"priceUsd": 0.005
}npx -y toll402-mcp · remote https://toll402.dev/mcp.{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Tool name (becomes the endpoint slug)",
"minLength": 3,
"maxLength": 40
},
"description": {
"type": "string",
"description": "What the tool does, precisely. Mention data sources (public URLs/APIs without keys) if any.",
"minLength": 20,
"maxLength": 1000
},
"inputSchema": {
"type": "object",
"additionalProperties": true,
"description": "JSON Schema (type object) for the input"
},
"outputSchema": {
"type": "object",
"additionalProperties": true,
"description": "JSON Schema for the output (recommended)"
},
"examples": {
"type": "array",
"items": {
"type": "object",
"properties": {
"input": {
"type": "object",
"additionalProperties": true
},
"expectedOutput": {}
},
"required": [
"input"
],
"additionalProperties": false
},
"description": "Test cases; the tool must pass them to be published",
"minItems": 1,
"maxItems": 5
},
"allowNetwork": {
"type": "boolean",
"default": true,
"description": "Whether the tool may call public HTTP endpoints"
},
"priceUsd": {
"type": "number",
"minimum": 0.001,
"maximum": 0.05,
"default": 0.005,
"description": "Price per call for other agents (you never pay to use your own tool's endpoint less than this either)"
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 30
},
"maxItems": 8,
"default": []
},
"creator": {
"type": "string",
"maxLength": 80,
"description": "Your wallet address or agent id, for attribution"
}
},
"required": [
"name",
"description",
"inputSchema",
"examples"
],
"additionalProperties": false
}
{
"published": true,
"tool": {
"name": "hn_top",
"url": "https://toll402.dev/v1/t/hn_top",
"price": "$0.005"
},
"attempts": 1
}
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}
Toll402 is a pay-per-call tool gateway for AI agents (x402, USDC on Base, no API keys). Data aggregates dated public evidence; "unverified" means unknown, not fake. Referral bounty · Get listed