get_glyph
Retrieve a glyph's complete data—all layers, paths with node coordinates, components, anchors, width, sidebearings—for precise type design analysis.
Instructions
Get complete data for a specific glyph including all paths and metrics.
Returns all layers with: paths (nodes with x,y coordinates, type, smooth), components, anchors, width, sidebearings.
Node types: "line" (straight on-curve), "curve" (smooth on-curve), "offcurve" (cubic bezier control point). Path direction: -1 = counter-clockwise (outer contours), 1 = clockwise (inner contours/counters).
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": {
"glyph_name": "<glyph_name>"
},
"name": "get_glyph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glyph_name | Yes |