xd_extract_assets
Extract embedded images and resources from an Adobe XD file into a specified output directory, enabling asset reuse and design-to-code workflows.
Instructions
Extract embedded images/resources from the XD file into an output directory.
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>",
"outDir": "<outDir>"
},
"name": "xd_extract_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .xd file | |
| outDir | Yes | Absolute directory to write assets into |