ps_resize_document
Resizes the current Photoshop document to target pixel dimensions. Provide either width or height, and the other is calculated automatically to maintain proportion.
Instructions
调整当前 Photoshop 文档的像素尺寸。给 width 或 height 中任意一个,另一个按比例自动算。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ps_resize_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | 目标宽度(像素) | |
| height | No | 目标高度(像素) |