get_collector_log_file
Read one uploaded LogicMonitor collector log file and return the end of its text, limited by max_bytes and starting on a whole line, with a flag showing whether earlier lines were truncated.
Instructions
Read one uploaded collector log file, named as get_collector_log_files lists it, and return the end of its text: at most max_bytes bytes, starting on a whole line. truncated says whether earlier lines were left out.
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": {
"collector_id": "<collector_id>",
"file_name": "<file_name>"
},
"name": "get_collector_log_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Log file name, such as 82.postcheck.log.zip | |
| max_bytes | No | Most bytes of the log's end to return | |
| collector_id | Yes | Collector ID |