Inspect the document
inspect_documentRetrieve a FigCraft document's full state as JSON, including layer tree, pages, styles, variables, images, selection, and undo history, for inspection or debugging.
Instructions
The document as JSON: name, path, dirty flag, current page, selection, the layer tree, styles, variables, images, colour profile, the text being edited and the undo history.
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": "inspect_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| allPages | No |