Get Path Items
get_path_itemsRetrieve path and shape data from Illustrator documents, including anchor points when needed, with filters by layer or selected paths and coordinate-system options.
Instructions
Get path and shape data. Note: fill/stroke do not include per-attribute opacity; use the item-level opacity field for transparency.
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": "get_path_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | No | Filter by layer name | |
| include_points | No | Include anchor point details | |
| selection_only | No | Get selected paths only | |
| coordinate_system | No | Coordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active. |