design_get_font_metrics
Retrieve detailed metrics for a registered font—including ascender, descender, xHeight, capHeight, available weights, and kerning pair count—to inform generative art layouts.
Instructions
Return detailed metrics for a registered font: ascender, descender, xHeight, capHeight, available weights, and kerning pair count.
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": {
"fontFamily": "<fontFamily>"
},
"name": "design_get_font_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Specific weight to query (default: 400). | |
| fontFamily | Yes | Font family name. |