get_logs
Retrieve the tail of a Supervisord process log, bounded by line count and byte size, with optional stderr selection for targeted troubleshooting.
Instructions
Get the tail of a process log (bounded by lines and max_bytes)
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": {
"name": "<name>"
},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Process name | |
| lines | No | Maximum number of trailing lines to return | |
| stderr | No | Get stderr logs instead of stdout | |
| max_bytes | No | Maximum number of trailing log bytes to read |