wp
Run allowed WP-CLI commands on a WordPress site to list plugins, check available updates, and inspect site details while sensitive files stay hidden.
Instructions
Run an allowed WP-CLI command. args without 'wp', e.g. ["plugin", "list", "--update=available"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>"
},
"name": "wp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| site | No |