audit_generate_schema
Generate an audit trail schema for specified tables, capturing events, user actions, and optional before/after diffs across supported databases.
Instructions
Generate audit trail database schema with event storage, user tracking, and change diffs
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": {
"tables_to_audit": "<tables_to_audit>"
},
"name": "audit_generate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| database | No | Database type | postgresql |
| include_diff | No | Whether to store before/after change diffs | |
| tables_to_audit | Yes | Tables/collections to track changes on |