photoshop_set_text_alignment
Sets text alignment for the active text layer in Photoshop, supporting left, center, right, and justified options. Optionally target a specific document ID to keep the edit on the correct file.
Instructions
Set text alignment for active text layer
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": {
"alignment": "<alignment>"
},
"name": "photoshop_set_text_alignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | Yes | Text alignment | |
| 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. |