xd_list_components
Lists reusable components (symbols) in a .xd file with their IDs, names, and sizes, enabling extraction of design assets for code generation or documentation.
Instructions
List the reusable components (symbols) defined in the file: id, name, size.
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>"
},
"name": "xd_list_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .xd file |