List fonts
list_fontsList the font families a design can use: Kalpana's global library plus the workspace's uploads. A design and its batches load fonts from Kalpana, so a font_family outside this list is refused. Without family it returns every family with its number of styles; with family it returns that family's styles (style name, weight, italic) when the name matches exactly, else the families whose name contains it, ignoring case, else close_matches from each word of the name. Read-only. Call it before setting font_family or font_style on text, to use a family and style that exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many families (default 200). | |
| family | No | Only families whose name contains this (case-insensitive), e.g. "inter". Each family's styles are listed when 20 or fewer match. | |
| intent | No | Optional: a few words on why. |