photoshop_set_text_font
Set the font family and size of the active text layer using a PostScript name for consistent results across Photoshop UI languages. Optionally specify a display name or font size in points.
Instructions
Set font family and size for active text layer.
Prefer the PostScript name (e.g. "ArialMT"): it is the same in every Photoshop UI language. A display name (e.g. "Arial") also works but can be localized; an exact PostScript match wins. Use photoshop_list_fonts to discover available fonts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fontName": "<fontName>"
},
"name": "photoshop_set_text_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fontName | Yes | Font PostScript name (preferred, language-independent) or display name (see photoshop_list_fonts) | |
| fontSize | No | Font size in points (optional) | |
| 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. |