cowboy_run
Executes a named WordPress tool with arguments after discovery, enabling posts, WooCommerce, hooks, and settings operations via MCP.
Instructions
Execute a WordPress tool by name with arguments. Use cowboy_discover first to find the right tool and its inputSchema.
Examples:
cowboy_run(tool="wp_cli", arguments={command: "post list --format=json --posts_per_page=5"})
cowboy_run(tool="wp_wordfence_update_settings", arguments={settings: {maxFailures: 8}})
cowboy_run(tool="wp_get_hooks", arguments={hook: "init"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A file the user attached in the chat (ChatGPT). Only with tool="wp_upload_media"; put title, alt_text, post_id and resize options in arguments. | |
| tool | Yes | Tool name from cowboy_discover results | |
| arguments | No | Tool arguments per the tool's inputSchema |