helm-list
List Helm releases in Kubernetes clusters to view deployed applications and their status, optionally filtered by namespace.
Instructions
List Helm releases
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "helm-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | The namespace to list releases from (optional, defaults to all namespaces) |
Implementation Reference
- server.js:1892-1900 (handler)Handler that executes the 'helm list' command with an optional namespace to list Helm releases and returns the output.
case "helm-list": { const { namespace } = args || {}; const nsArg = namespace ? `-n ${namespace}` : ""; const cmd = `helm list ${nsArg}`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "No Helm releases found" }] }; } - server.js:776-787 (schema)Tool definition including name, description, and input schema for 'helm-list', which accepts an optional namespace parameter.
name: "helm-list", description: "List Helm releases", inputSchema: { type: "object", properties: { namespace: { type: "string", description: "The namespace to list releases from (optional, defaults to all namespaces)" } } } }, - server.js:1392-1394 (registration)Registers the handler for ListToolsRequestSchema, which returns the full list of tools including 'helm-list'.
server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });