Film kit command
font.list
List Fonts
Lists the available font families and styles (bundled plus system fonts when `system`).
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
system | boolean | no | scan the system font folders |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "font.list" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: system. film_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{
"items": {
"additionalProperties": true,
"properties": {
"family": {
"type": "string"
},
"styles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"system": {
"default": true,
"description": "scan the system font folders",
"type": "boolean"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.