generate_box_drawing
Generate Unicode box drawing and block element glyphs directly in the open font across all masters. Specify glyph names or codepoints, auto-detect stroke values, and optionally overwrite existing drawings.
Instructions
Generate Unicode box drawing and block element glyphs in the open font.
By default, processes U+2500–U+259F. Existing drawn glyphs are skipped
unless overwrite=True. The tool draws directly in the .glyphs source
across all masters, using auto-detected stem values when stroke params
are left at 0.
Args: glyph_names: Optional subset to generate. Accepts glyph names, single characters, or codepoints like "U+2500". overwrite: Replace existing drawings if True. width: Force advance width for generated glyphs. 0 = auto. stroke: Light/single stroke thickness. 0 = auto. heavy_stroke: Heavy stroke thickness. 0 = auto. double_gap: Gap between double-line strokes. 0 = auto. color: Optional glyph color label for newly created glyphs.
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": "generate_box_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| width | No | ||
| stroke | No | ||
| overwrite | No | ||
| double_gap | No | ||
| glyph_names | No | ||
| heavy_stroke | No |