List allowed WP-CLI commands
list_cli_commandsList all WP-CLI commands allowed for execution, including write status. Filter by substring to verify if a command is permitted before running it.
Instructions
List every WP-CLI command run_wp_cli will accept. The allowlist is default-deny: anything not listed here is refused, no matter how it is phrased. Each entry says whether it writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Show only commands containing this substring, e.g. "plugin". |