audit_audit_clear
Clear audit events to maintain log hygiene. Optionally remove only events older than a specific timestamp. Returns counts of cleared and remaining events.
Instructions
[audit] Clear events. before=timestamp to clear only older events. Returns {cleared, remaining}.
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": "audit_audit_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |