lattice_get_container_logs
Retrieve recent stdout and stderr logs from a container. Filter by stream, limit lines, or paginate through older logs.
Instructions
Get recent container logs (stdout/stderr)
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": {
"id": "<id>"
},
"name": "lattice_get_container_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Container ID | |
| limit | No | Number of log lines (default 50) | |
| offset | No | Skip this many lines — paginate past the tail into older logs | |
| stream | No | Filter by stream | |
| worker_id | No | Filter by worker ID |