docker_container_logs
Retrieve logs from a Docker container by providing the container ID and optionally the number of recent log lines to fetch.
Instructions
[SAFE] Retrieve logs from a 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": {
"containerId": "<containerId>",
"tail": "<tail>"
},
"name": "docker_container_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerId | Yes | ||
| tail | Yes |