AddSynapse: blocks of a page or template
describe_blocksAddSynapse: Read-only tree of ONE design document with the id of EVERY block (or Elementor element): a page/post/synced pattern/Elementor template (page_id), a block-theme template (template = slug, e.g. single-product, archive-product, page, single, home, index, 404) or template part (template_part = slug, e.g. header, footer), or the homepage (front_page). Each block: {id, name (core/group, core/heading…), depth, parent, attrs (design attributes: colors, typography, spacing, layout, align, className…), text (excerpt), children}. Elementor documents: {id, type container|section|column|widget, widget (heading, text-editor, button, image…), settings (main keys), text}. Use the ids with plan_blocks_edit / plan_elementor_edit (they stay valid until the document changes). block returns only that block and what is inside it; large documents are truncated (ask for a block).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "describe_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Which connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site. | |
| block | No | ||
| page_id | No | ||
| template | No | ||
| front_page | No | ||
| template_part | No |