List rpk Commands
list_rpk_commandsList or search rpk CLI commands for a docs version. Filter by a keyword matched against command names and help text, by parent command (for example parent='rpk topic' lists its direct subcommands), or by plugin (connect, ai, k8s, check). Returns compact rows: name, usage, one-line summary, subcommand and flag counts, Cloud scoping, plugin, docs URL. Name matches rank above help-text matches; deprecated commands are hidden unless include_deprecated is true. Use it to find the right command name before get_rpk_command, or to answer 'which rpk commands do X'. total=0 means nothing matches in that version; it never falls back to a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 25, max 100). | |
| query | No | Keyword, e.g. 'partition', 'decommission', or a partial name like 'topic cre'. | |
| parent | No | List the direct subcommands of this command, e.g. 'rpk cluster' or 'rpk'. | |
| plugin | No | Only commands of this rpk plugin. | |
| context | No | Optional. In one concise sentence (third person), describe what the user is trying to accomplish with this request. Do not include credentials, tokens, personal data, or verbatim secrets. | |
| version | No | Docs version as its URL spells it ('26.1'), 'current' for the latest release, or a Redpanda release tag ('v26.2.2'). Omit for the latest release. An unknown value returns found=false with the list of published versions. | |
| session_goal | No | Optional. In one concise sentence (third person), the overall goal of this session: what the user is trying to get done, not just this call. Send the same goal on every call in the session, and update it only if the goal changes. Do not include credentials, tokens, personal data, or verbatim secrets. | |
| include_deprecated | No | Include deprecated commands (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | Set when the call was not answered: 'anonymous_quota_exhausted' or 'data_unavailable'. | |
| limit | No | Quota refusal only. | |
| total | No | Matches before the limit. Absent only when `error` is set. | |
| reason | No | ||
| dataset | No | ||
| message | No | ||
| commands | No | ||
| returned | No | ||
| resets_at | No | Quota refusal only. | |
| sign_in_url | No | Quota refusal only. | |
| valid_versions | No |