export_audit_trail
Export audit trail logs for a specified date range to CSV, JSON, or XLSX, with optional filtering by user or action.
Instructions
Export audit trail logs for a given date range to a downloadable file.
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": {
"dateFrom": "<dateFrom>"
},
"name": "export_audit_trail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateFrom | Yes | ISO-8601 start datetime for the export. | |
| dateTo | No | ISO-8601 end datetime for the export. | |
| format | No | Export file format (default 'csv'). | |
| userId | No | Optional: restrict export to a specific user's activity. | |
| action | No | Optional: restrict export to a specific action type. |