logs_container
Fetch recent log output from a container to diagnose and troubleshoot runtime errors.
Instructions
Get recent log output from a 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": {
"container": "<container>"
},
"name": "logs_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Lines to return. Default: 100 | |
| container | Yes |