Detect trace tool-policy violations
detect_trace_tool_policyAnalyze an agent trace for the Gray Swan Wave 16 class: untrusted retrieved/tool output causing a tool call outside the user-declared per-turn allowlist. Returns trace counts, unauthorized tool-call evidence, canon mapping VC-AI-TOOL-0001, and claim-boundary guardrails. Backed by T-IB-25/T-IB-29/T-IB-36.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_trace_tool_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | No | Single agent trace with user_prompt, allowed_tools, and events[]. | |
| traces | No | Optional batch of agent traces. | |
| targetName | No | Optional display name for the assessed target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| traces | No | ||
| canonId | No | ||
| summary | Yes | ||
| verdict | Yes | ||
| probability | No | ||
| theoremRefs | No | ||
| claimBoundary | No | ||
| reviewPriority | Yes | ||
| recommendedAction | Yes | ||
| explainabilityToken | No | ||
| customerSystemProved | No |