Tools · Planning and checking
verify_output
Read-onlyCheck 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": "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
| Name | Type | Description |
|---|---|---|
| content* | string | Content to verify |
| criteria* | array | Required checks |
* required
More in Planning and checking
Plan the work, weigh options, and check results before answering.