photoshop_list_fonts
List installed Photoshop fonts and filter by name to find the exact font for text layers. Provides PostScript names needed for setting or creating text.
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 | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |