output
Detect fake or silent failures by validating code and output. Verify code for errors, and ensure output matches expected format, contains required content, and excludes prohibited items.
Instructions
Output validation. Operations:
validate_code: Check for fake/silent failures (code, context)
validate_result: Check output for fakes (output, expected_format, should_contain, should_not_contain)
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": {
"operation": "<operation>"
},
"name": "output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation | |
| code | No | ||
| context | No | ||
| output | No | ||
| expected_format | No | ||
| should_contain | No | ||
| should_not_contain | No |