crm_export_audit_log
Export the session's audit trail as JSON Lines, one record per line, to provide evidence of agent actions for reviews or ticket attachments. Includes every call, outcome, and redacted details.
Instructions
Export this session's audit trail as JSON Lines, one record per line.
Use this to hand a reviewer evidence of what the agent did, or to attach the trail to a ticket or change record.
Read-only and entirely local: it reads an in-memory buffer, makes no HubSpot call, and needs no scope. Every other tool call in the session is present, including calls denied for a missing scope and calls that raised an error, each with an id, timestamp, actor, tool name, outcome, the arguments, a short result summary, and the idempotency key where one applied. Email addresses and phone numbers are redacted before a record is stored. The buffer is not persisted, so it starts empty every time the server starts and an export after a restart covers only the new session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |