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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | Yes | ||
| command | Yes | ||
| cwd | No | ||
| auto_track_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |