Create Text Layer
ps_create_textAdd text to Photoshop documents with typographic controls including font, size, color, alignment, and warp effects, supporting single-line or bounded text boxes.
Instructions
Creates a text layer with full typographic control in a single call — font, size, color, alignment, tracking, leading, and warp. Use type "point" for single-line text or "area" for a bounded text box.
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": {
"text": "<text>",
"x": "<x>",
"y": "<y>",
"type": "<type>",
"fontSize": "<fontSize>",
"color": "<color>"
},
"name": "ps_create_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text content to display | |
| x | Yes | X position in pixels | |
| y | Yes | Y position in pixels | |
| type | Yes | "point" for single-line, "area" for a bounded text box | |
| width | No | Text box width in pixels (required for area type) | |
| height | No | Text box height in pixels (required for area type) | |
| fontSize | Yes | Font size in points | |
| fontName | No | PostScript font name — default ArialMT | ArialMT |
| color | Yes | Text color {r,g,b} | |
| alignment | No | Text alignment | |
| tracking | No | Letter spacing in thousandths of an em | |
| leading | No | Line spacing in points — omit for auto leading | |
| warp | No | Text warp effect |