opspilot_fetch_logs
Fetch a concrete log file from a remote host with a size cap for safe retrieval. Provide the file path after listing files to avoid directories.
Instructions
Fetch a concrete log file under a catalog log root with safe truncation. Do not pass a directory; list files first.
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": {
"host_alias": "<host_alias>"
},
"name": "opspilot_fetch_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| service | No | ||
| max_bytes | No | ||
| host_alias | Yes |