get_container_logs
Fetch recent container log lines and scan them for error patterns to diagnose issues without modifying the container. Read-only.
Instructions
Fetch the last tail log lines and scan them for error anomalies. Read-only.
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": {
"container": "<container>"
},
"name": "get_container_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| container | Yes | ||
| anomaly_regex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||