query_selector
Find matching DOM elements in a running Typora renderer by CSS selector; get concise, serializable summaries for inspection or debugging.
Instructions
List concise, serializable summaries for elements matching a CSS selector.
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": {
"selector": "<selector>"
},
"name": "query_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| selector | Yes | CSS selector evaluated in the selected Typora renderer | |
| targetId | No | Renderer targetId from typora_status; required when no single window is focused |