log_overview
Scan a log file to obtain its size, line count, time range, log level distribution, and head/tail samples. Use this as the initial step in log file investigation.
Instructions
Quick scan of a log file: size, line count, time range, level distribution, and head/tail samples.
Use this as the first step when investigating a log file.
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": {
"file_path": "<file_path>"
},
"name": "log_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| sample_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |