Zum Inhalt
HALOWERK

Modellwerk

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 destructive flag set to true, an empty string where content was expected.

POST https://modell.halowerk.com/v1/tool-arg-validate

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
argumentsobjectJaThe arguments about to be sent.
schemaobjectJaThe tool input schema.
tool_namestringNeinName of the tool, carried into the report.
irreversiblebooleanNeinMark the call as irreversible. Raises every warning one level.
expected_magnitudeobjectNeinOptional per-field order-of-magnitude hint, e.g. {"amount": 100}. A value more than 100x off is flagged.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "arguments",
    "schema"
  ],
  "additionalProperties": false,
  "properties": {
    "arguments": {
      "type": "object",
      "description": "The arguments about to be sent."
    },
    "schema": {
      "type": "object",
      "description": "The tool input schema."
    },
    "tool_name": {
      "type": "string",
      "maxLength": 128,
      "description": "Name of the tool, carried into the report."
    },
    "irreversible": {
      "type": "boolean",
      "default": false,
      "description": "Mark the call as irreversible. Raises every warning one level."
    },
    "expected_magnitude": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      },
      "description": "Optional per-field order-of-magnitude hint, e.g. {\"amount\": 100}. A value more than 100x off is flagged."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "arguments": {},
  "schema": {},
  "irreversible": false
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://modell.halowerk.com/v1/tool-arg-validate/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →