Overview
Retrieves comprehensive information about the currently open Figma document, including document metadata, pages, and structure.Parameters
This tool does not require any parameters.Return Value
Returns a JSON object containing document information:Usage Example
Best Practices
Always call
get_document_info at the start of a session to understand the document structure before performing other operations.Common Use Cases
- Understanding document structure before creating or modifying elements
- Listing all pages in a document
- Getting document metadata for context
- Initial document analysis
Related Tools
- get_selection - Get current selection
- get_node_info - Get specific node details