Tools · Planning and checking

verify_output

Read-only

Check whether content satisfies a set of required criteria.

When to use: Use this to validate outputs against explicit criteria before returning or publishing them.

Example

Run for real by scripts/tool-examples.py in a small demo project, with Haiku 5.5 where the tool calls a model. The output is exactly what the tool returned.

The call

tool call
{
  "tool": "verify_output",
  "arguments": {
    "content": "price('team', 10) returns 290.0, and the test passes.",
    "criteria": [
      "states a concrete result",
      "mentions verification"
    ]
  }
}

Real output

Verification failed:
- states a concrete result: missing
- mentions verification: missing

Parameters

NameTypeDescription
content*stringContent to verify
criteria*arrayRequired checks

* required

Plan the work, weigh options, and check results before answering.