render_glyph
Generate and return a PNG preview of a glyph from a selected UFO revision, with optional guides, points, and measurements. Compare revisions using overlay or difference modes.
Instructions
Persist and return PNG image content from the selected UFO revision, with optional guides/handles. Comparison uses the same frame.
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": {
"project_id": "<project_id>",
"glyph_id": "<glyph_id>"
},
"name": "render_glyph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| detail | No | summary | |
| guides | No | ||
| height | No | ||
| points | No | ||
| glyph_id | Yes | ||
| revision | No | ||
| master_id | No | default | |
| image_mode | No | inline | |
| project_id | Yes | ||
| measurements | No | ||
| reference_id | No | ||
| comparison_mode | No | overlay | |
| compare_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| changed | No | ||
| summary | Yes | ||
| revision | No | ||
| warnings | No | ||
| project_id | No |