xray_diagram
Draw a page's anatomy as an Excalidraw diagram: its regions, the ranked ways to get its data, proof rows, the best route and what the page is made of. Returns a download link for the .excalidraw file (give it to the user; it opens at excalidraw.com or in Obsidian) and a file_name. With include_scene, also the scene itself (a few hundred KB).
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": {
"url": "<url>"
},
"name": "xray_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full page URL, e.g. https://example.com/products | |
| include_scene | No | also return the full Excalidraw scene JSON (large). Default false: just the download link |