wp_blocks_get
Retrieve a single reusable block by its ID, returning the complete Gutenberg block markup. Use this to access block content directly from WordPress.
Instructions
Fetch a single reusable block by id with full content (Gutenberg block markup).
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": {
"id": "<id>"
},
"name": "wp_blocks_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| context | No | edit |