get_macro_block
Retrieve one section of a compiled macro block blueprint by ID or content hash, then follow cursor links for full results. Use designId to pin aliases to a session registry.
Instructions
Retrieve one section of a compiled macro block blueprint (manifest, structure, slots, ports, rules, dependencies, provenance). Follow next cursors until complete. Optional designId pins aliases to that session registry.
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": "get_macro_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alternative block identifier alias matching idOrRef. | |
| name | No | Alternative block identifier alias matching idOrRef. | |
| cursor | No | Pagination cursor for large section reads exceeding packet limits. | |
| idOrRef | No | Canonical macro block ID or SHA-256 content reference hash. | |
| section | No | Specific block section to retrieve: "all", "manifest", "structure", "slots", "ports", "rules", "dependencies", or "provenance". Defaults to "all". | |
| designId | No | Active design session ID to retrieve session-bound block variants. | |
| componentId | No | Alternative block identifier alias matching idOrRef. | |
| environment | No | Target environment (defaults to html). |