get_telemetry_report
Exports tool invocation telemetry as a structured audit report filtered by session, date range, or risk tier for compliance, insurance, and safety audits.
Instructions
Export tool invocation telemetry as a structured audit report.
Queries the tool_invocations table filtered by session, date range, and/or
risk tier. Returns a structured log suitable for SB 132 compliance reports,
insurance documentation, and safety audits.
Args:
session_id: Filter to a specific session ID (from list_agent_sessions).
If None, includes all sessions in the date range.
days: Number of past days to include (default 1 = today only).
risk_tier: Filter to "SAFE_READ", "SAFE_WRITE", or "DESTRUCTIVE" only.
If None, includes all tiers.
format: "json" (default) or "markdown" for human-readable report.
Returns structured report with:
- header: session info, date range, operator
- risk_summary: counts per tier
- destructive_log: full detail on every DESTRUCTIVE operation
- error_log: any operations that returned errors
- timeline: ordered list of all operations
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": "get_telemetry_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| format | No | json | |
| risk_tier | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |