kubernetes.searchTools
Search and discover Kubernetes tools to create reusable scripts for cluster management. Generate portable TypeScript scripts that parse CLI arguments for flexible Kubernetes operations.
Instructions
Search and discover Kubernetes tools, then create reusable scripts under scripts/cache/ (e.g., scripts/cache/list-pods.ts). Each script should parse CLI args (add as many flags as needed) or env vars for every input instead of hardcoding cluster names/namespaces; fail fast with a usage message when a required flag is missing. Run scripts with npx tsx scripts/cache/<script>.ts --flag=value --another=value2 so they stay portable between prompts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to filter tools by name or description. If omitted, returns all tools. | |
| detailLevel | No | Level of detail: "name" (just tool names), "summary" (name + description), "full" (complete definition with schemas) | summary |
| limit | No | Maximum number of results to return |