sitebay_site_shell_command
Execute shell commands on WordPress sites, including WP-CLI operations and system commands, for site management and troubleshooting.
Instructions
Execute a shell command on a WordPress site. Supports WP-CLI commands, system commands, etc.
Args: fqdn: The fully qualified domain name of the site command: The shell command to execute (e.g., "wp plugin list", "ls -la", "wp search-replace")
Returns: Command output and execution details
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": {
"fqdn": "<fqdn>",
"command": "<command>"
},
"name": "sitebay_site_shell_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | Yes | ||
| command | Yes | ||
| cwd | No | ||
| auto_track_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |