container_logs
Fetch the recent log entries from a running container. Specify the container name and optionally the number of trailing lines to review.
Instructions
Last tail lines of a container's 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": "container_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |