List allowed WP-CLI commands
list_cli_commandsList every WP-CLI command accepted by run_wp_cli, including write status, and filter by substring to see which actions are allowed before execution.
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". |