Container Manager: container logs
docker_logsRetrieve container stdout/stderr logs in reverse chronological order, with optional keyword and date filters to troubleshoot Docker containers on a Synology NAS.
Instructions
Log lines of a container (stdout/stderr), newest first, with optional text and date filters. Container Manager can take 20–60 s to answer for containers with long logs.
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": {
"name": "<name>"
},
"name": "docker_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Up to this day (YYYY-MM-DD) | |
| from | No | From this day (YYYY-MM-DD) | |
| name | Yes | Container name | |
| limit | No | Max lines (default 50) | |
| offset | No | ||
| keyword | No | Only lines containing this text |