get_docker_logs
Retrieve the last log lines from a Docker container over SSH for read-only diagnostics, with values resembling secrets automatically redacted.
Instructions
The last lines log lines of one docker container (name or ID). Values that look like
secrets are redacted.
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>",
"host": "<host>",
"user": "<user>"
},
"name": "get_docker_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| lines | No | ||
| since | No | ||
| timeout | No | ||
| key_path | No | ||
| container | Yes | ||
| password_env | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||