photoshop_set_text_font
Set font family and size for the active text layer in Photoshop. Accepts display or PostScript names; use list fonts to find available fonts.
Instructions
Set font family and size for active text layer.
Accepts display name (e.g. "Arial") or PostScript name (e.g. "ArialMT") — resolved via app.fonts. Use photoshop_list_fonts to discover available fonts. If the font is not listed, install its file with photoshop_install_font. That reloads the open app's font list; do not quit Photoshop.
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>",
"document_id": "<document_id>"
},
"name": "photoshop_set_text_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fontName | Yes | Font display or PostScript name (see photoshop_list_fonts) | |
| fontSize | No | Font size in points (optional) | |
| 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. |