List fonts
list_fontsSearch the fonts the editor offers: Google Fonts and this account's uploaded fonts. Returns the name and source to use for text fonts and the weights each font has. Font writes only accept these fonts. If a requested custom font is missing, ask the user to upload it in AppScreens under Account > Advanced > Manage custom fonts. Then run list_fonts again and apply the font using the returned name and source.
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": "list_fonts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Part of a family name, or a category such as serif, sans-serif, display, handwriting or monospace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | ||
| googleAvailable | Yes | False when Google Fonts could not be loaded; only uploaded fonts are listed then. |