Search the WordPress developer docs
wp_docsUse when you need the official page for a function, hook, class, block API, REST route, WP-CLI command or common task (nonces, cron, roles, caching...), or a page builder's developer docs: returns the right links with a one-line summary, not the page content. For a step-by-step walkthrough, use wp_howto.
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 | A function, hook or class name, or a question |