List service account tokens
k8s_list_service_account_tokensLists tokens for a Kubernetes ServiceAccount in a namespace, using an optional context, so you can inspect credentials available to that account.
Instructions
List ServiceAccount tokens.
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>",
"namespace": "<namespace>"
},
"name": "k8s_list_service_account_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| namespace | Yes |