compare_outputs
Compares actual and expected outputs, optionally ignoring case and whitespace, to verify code test results and identify mismatches.
Instructions
比较两个输出
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": {
"actual": "<actual>",
"expected": "<expected>"
},
"name": "compare_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actual | Yes | 实际输出 | |
| expected | Yes | 预期输出 | |
| ignore_case | No | 是否忽略大小写 | |
| ignore_whitespace | No | 是否忽略空白字符 |