get_container_logs
Fetch recent logs from an allowlisted Docker container to enable secure read-only inspection and troubleshooting over SSH without full shell access.
Instructions
Return recent logs for an allowlisted Docker container.
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 |
|---|---|---|---|
| lines | No | ||
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||