Logger Clear
logger_clearPermanently deletes logs for a specified level and module on an fnOS NAS. This irreversible write operation clears log data and cannot be undone.
Instructions
清除指定级别/模块的日志(危险写操作,不可恢复)。
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": {
"level": "<level>",
"module": "<module>"
},
"name": "logger_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| level | Yes | 日志级别,如 info/warning/error | |
| module | Yes | 模块名 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |