Search the WordPress developer docs
wp_docsFinds the official documentation for a WordPress task or topic: developer handbooks (blocks, themes, plugins, REST API, nonces, cron, roles, caching), step-by-step guides, and the own docs of page builders and major plugins (WooCommerce, ACF, Yoast, Elementor, Bricks and more). Use when you need to know how something is done, or where a product documents it. Returns links with a one-line summary, never the page content. For an exact function, hook or class name, use wp_code.
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": {
"query": "<query>"
},
"name": "wp_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | The task or topic in a few words: "register a custom block", "Elementor custom widget", "speed up WooCommerce" |