xd_read_raw
Reads a raw JSON entry from an .xd archive, optionally drilling into nested data with a dotted path and truncating output to a character limit for targeted inspection.
Instructions
Read a raw JSON entry from the archive (e.g. manifest, an artboard's graphicContent.agc), optionally drilling in with a dotted path like children.0.artboard.children.2. Output is truncated to maxChars.
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": {
"file": "<file>",
"entry": "<entry>"
},
"name": "xd_read_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .xd file | |
| path | No | Optional dotted path into the JSON | |
| entry | Yes | Archive path, e.g. 'manifest' or 'artwork/artboard-xxx/graphics/graphicContent.agc' | |
| maxChars | No |