Get application logs
get_application_logsRetrieve container log lines from a running application. Specify trailing line count and optional timestamps; returns a clear error if the app is not running.
Instructions
Last lines lines (default 100) of a running application's container logs. Fails with a clear message if the app is not running.
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": {
"application": "<application>"
},
"name": "get_application_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Trailing lines to return. | |
| application | Yes | Application uuid, exact name, or a unique part of its name or domain. | |
| show_timestamps | No | Prefix lines with Docker timestamps. |