verify_scenario
Verifies a single corpus scenario against an ASC policy by running its trace through the policy evaluator and returning whether the actual verdict matches the expected result, with failure reasons.
Instructions
Verify a single corpus scenario file against an ASC policy.
Loads the scenario JSON, runs the trace through the policy evaluator, and returns whether the actual verdict matches the expected verdict.
Args: policy_path: Path to the ASC policy YAML file scenario_path: Path to a single scenario JSON file
Returns: Mapping with match (bool), expected, actual, reason, and scenario metadata
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": {
"policy_path": "<policy_path>",
"scenario_path": "<scenario_path>"
},
"name": "verify_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_path | Yes | ||
| scenario_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||