{"slug":"toll402-dev-v1-forge-fbb063","title":"Create a NEW tool from a description, an input schema and test examples","host":"toll402.dev","method":"POST","resource":"https://toll402.dev/v1/forge","category":"code","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.","price_listed":0.25,"price_asked":0.25,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":218,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_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_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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.25,"price_match":true,"latency_ms":218,"error":null}],"description_full":"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.","last_updated":"2026-09-08T00:02:43.452Z","schemes":["exact"]}