filter_level
Filter logs by severity level (ERROR, WARN, INFO, DEBUG) from JSON and plain text files.
Instructions
Filter log file by level: ERROR, WARN, INFO, DEBUG. Supports JSON and plain text logs.
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": {
"path": "<path>",
"level": "<level>"
},
"name": "filter_level"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| level | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||