wafle_system_audit_query
Query audit logs to trace actions: filter by store, actor, endpoint, and date range. Identify who performed specific operations like refunds or gateway changes.
Instructions
Query the audit log: who called what, when. Filter by store, actor type (master/store), endpoint, date range.
Use for forensics: 'who refunded order 87?', 'who toggled gateway 65 inactive?'.
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": "wafle_system_audit_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| to_ts | No | ||
| from_ts | No | ||
| endpoint | No | Substring match on the endpoint path. | |
| per_page | No | Items per page (1-200). | |
| store_id | No | ||
| actor_type | No |