get_session_log
Retrieve the full audit log for an agent session to review every command, safety check, and blocked attempt and replay exactly what the agent issued.
Instructions
Return the full audit log for an agent session.
Every tool call made by an agent is recorded with a session ID — a UUID
generated when the MCP server starts. Use this tool to replay exactly
what an agent issued during a session: every command, every safety check
that fired, every blocked attempt.
Args:
session_id: Session UUID to query. Omit to use the current session.
limit: Maximum records to return (default 100, max 500).
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_session_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum records to return (default 100, max 500). Default: 100. | |
| session_id | No | Session UUID to query. Omit to use the current session. |