assert
Assert a condition in a sequence step and stop execution if it fails. Use with template variables to check values from prior requests.
Instructions
Assert a condition as a sequence step. Fails the sequence (isError, executor stops) if the condition is false - use with {{var:name.path}} templates to check values captured by a prior request({saveAs}) step.
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": {
"operator": "<operator>"
},
"name": "assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | No | Value to check (typically a {{var:name.path}} template, resolved before this tool runs) | |
| right | No | Value to compare against. Not used for exists/notExists. | |
| message | No | Custom failure message | |
| operator | Yes | Comparison operator |