Skip to content
Fourohtwo

Two checks in one

modell.halowerk.com/v1/tool-arg-validate

Two checks in one. First the arguments are validated against the tool input schema and every violation is reported with its path and a sentence saying what to change. Second, values that satisfy the schema but look wrong are flagged: an unset required field filled with a placeholder like "string" or "TODO", a number at a suspicious order of magnitude, an address that fails its checksum shape, a de

BaseAnswering
POSThttps://modell.halowerk.com/v1/tool-arg-validate

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://modell.halowerk.com/v1/tool-arg-validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"arguments":{"city":"Berlin","unit":"celsius"},"schema":{"properties":{"city":{"type":"string"},"unit":{"enum":["celsius","fahrenheit"],"type":"string"}},"required":["city"],"type":"object"},"tool_name":"get_weather"}),
});
console.log(await res.json());

Example input

{
  "arguments": {
    "city": "Berlin",
    "unit": "celsius"
  },
  "schema": {
    "properties": {
      "city": {
        "type": "string"
      },
      "unit": {
        "enum": [
          "celsius",
          "fahrenheit"
        ],
        "type": "string"
      }
    },
    "required": [
      "city"
    ],
    "type": "object"
  },
  "tool_name": "get_weather"
}