sysknife_get_logrotate_status
Runs a read-only logrotate dry run to show which logs would rotate, optionally for a specified config path. Use it to inspect rotation status before making changes.
Instructions
Read-only SysKnife action GetLogrotateStatus. dry-run logrotate to show what would rotate (logrotate -d) — param: config (optional path); read-only
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": "sysknife_get_logrotate_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||