get_dom
Read bounded HTML, visible text, or accessibility snapshots from Typora to inspect rendered content and debug layout or accessibility issues.
Instructions
Read bounded HTML, visible text, or an accessibility snapshot from Typora.
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_dom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| format | No | html | |
| maxChars | No | ||
| selector | No | html | |
| targetId | No | Renderer targetId from typora_status; required when no single window is focused | |
| snapshotId | No |