get_logs
Retrieve recent stdout and stderr logs from a pod's app process by specifying the pod name, with an optional line limit, to debug and monitor container behavior.
Instructions
Get the recent stdout/stderr logs from a pod's app process.
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 | ||
| lines | No |