photoshop_list_fonts
Lists installed fonts available to Photoshop, including PostScript names, families, and styles. Use to select fonts for creating or setting text layers.
Instructions
List installed fonts available to Photoshop.
Use when: choosing a font for photoshop_create_text_layer or photoshop_set_text_font. TextItem.font requires the PostScript name — use postScriptName from results, or pass display name to set/create tools (they resolve automatically).
Returns: fonts array ({ name, postScriptName, family, style }), total count, truncated flag. First call may be slow (app.fonts.length can exceed 1000). Side effects: none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum fonts to return (default: 200) | |
| query | No | Optional substring filter (matches name, postScriptName, or family) | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |