wp_blocks_get
Retrieve a specific Gutenberg block from a WordPress page or post using its path, hash, anchor, metadata name, or an unambiguous query.
Instructions
Get one Gutenberg block by path, hash, anchor, metadata name, or unambiguous query.
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": {
"ref": "<ref>",
"at": "<at>"
},
"name": "wp_blocks_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| ref | Yes | Post or page ID/slug | |
| post_type | No | page | |
| include_html | No |