wp_get_block_pattern
Retrieve a registered WordPress block pattern by exact namespace/name, optionally including content. Ideal for reading pattern details without editing.
Instructions
Get one registered read-only pattern by its exact namespace/name.
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": {
"name": "<name>"
},
"name": "wp_get_block_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| include_content | No |