Live Turn Audit (Systemores System One)
systemores_audit_turn_liveAudit a live agent turn for policy compliance, sycophancy, and unauthorized tool scope, then return an advisory circuit-breaker action to enforce before replying or invoking tools.
Instructions
Performs real-time (~250ms) inline operational and behavioral auditing for a single turn using Systemores System One. Evaluates required systemPrompt and userMessage (optionally paired with agentResponse and/or proposedToolCall, each max 8,000 chars) to score policy compliance, sycophancy probability, and unauthorized tool scope, returning an advisory circuit-breaker action (DISPATCH, INTERCEPT, QUARANTINE, STRIP_TOOL) for the caller to enforce. Read-only, zero-retention, LLM-backed scoring (variance explains idempotentHint=false); requires a Pro/Trial API key. Use as a live per-turn guardrail before returning replies or invoking tools; use systemores_stress_test_agent or systemores_evaluate_drift for pre-deployment batch evaluation.
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": {
"systemPrompt": "<systemPrompt>",
"userMessage": "<userMessage>"
},
"name": "systemores_audit_turn_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userMessage | Yes | The prompt or message sent by the user in this interaction turn. | |
| systemPrompt | Yes | The behavioral blueprint, constraints, or security policies of the agent under audit. | |
| agentResponse | No | Optional proposed assistant reply text to audit against systemPrompt (max 8,000 chars). Provide agentResponse, proposedToolCall, or both for full turn inspection. | |
| proposedToolCall | No | Optional tool invocation proposed by the agent (JSON string or 'tool_name(args)' text, max 8,000 chars) to check for unauthorized tool scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | ||
| status | Yes | ||
| tokens | No | ||
| metrics | Yes | ||
| verdict | Yes | ||
| latencyMs | Yes | ||
| circuitBreakerAction | Yes | ||
| autoRecoveryRecommendation | No |