get_logs
Retrieve recent logs from a container to debug crashes or inspect application output. Accepts container ID and optional line count for tail.
Instructions
Fetch recent logs from a container. Use this to debug crashes or check application output.
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>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Number of log lines to return from the end (default 200) | |
| containerId | Yes | UUID of the container |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | Recent log output. |