get_document_elements
Retrieves document elements by type, such as all, text, graphics, or tables, enabling targeted access for analysis and editing within InDesign.
Instructions
Get all elements in the document
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_document_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementType | No | Type of elements to get (e.g., "all", "text", "graphics", "tables") | all |