container_logs
Retrieve container logs to monitor application output and troubleshoot issues. Specify container name/ID and optionally set the number of log lines to display from the end.
Instructions
Get logs from a container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container name or ID | |
| tail | No | Number of lines to show from end of log |
Input Schema (JSON Schema)
{
"properties": {
"container": {
"description": "Container name or ID",
"title": "Container",
"type": "string"
},
"tail": {
"default": 100,
"description": "Number of lines to show from end of log",
"title": "Tail",
"type": "integer"
}
},
"required": [
"container"
],
"type": "object"
}