assert
Run comparison assertions on task outputs or arbitrary text to validate results against expected values, ensuring correctness.
Instructions
Run output comparison assertions on tasks or arbitrary text
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"assertions": "<assertions>"
},
"name": "assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text | |
| output | No | Raw text to check (when not using task_name) | |
| task_name | No | Completed task name to check | |
| assertions | Yes | Assertions to run |