Service logs
k8s_service_logsRetrieves Kubernetes service logs by service ID, with optional tail count and live follow, to help diagnose workload behavior.
Instructions
Invoke the service_logs operation.
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": {
"service_id": "<service_id>"
},
"name": "k8s_service_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| follow | No | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| service_id | Yes |