export_logging
Export REDCap project audit logs with filters for event type, user, record, and date range. Retrieve JSON log entries for analysis.
Instructions
Export the audit log for the REDCap project.
Args: log_type: Filter by event type. One of: 'export', 'manage', 'user', 'record', 'record_add', 'record_edit', 'record_delete', 'lock_record', 'page_view'. None returns all types. user: Filter to a specific REDCap username. record: Filter to a specific record ID. begin_time: Start of date range as ISO 8601 string (e.g. '2024-01-01T00:00:00'). end_time: End of date range as ISO 8601 string.
Returns: JSON array of log entries.
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": "export_logging"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| record | No | ||
| end_time | No | ||
| log_type | No | ||
| begin_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |