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.
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": "list_cli_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Show only commands containing this substring, e.g. "plugin". |