wps_wpp_add_textbox
Add a textbox to a slide with custom text, position, size, and font. Specify coordinates and formatting to insert text directly into the active presentation.
Instructions
向某页添加文本框并写入文字。
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": "wps_wpp_add_textbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Y 坐标(默认 100) | |
| left | No | X 坐标(默认 100) | |
| text | No | 文本框内容 | |
| width | No | 宽度(默认 400) | |
| height | No | 高度(默认 50) | |
| font_name | No | 字体(可选) | |
| font_size | No | 字号(可选) | |
| slide_index | No | 幻灯片序号(默认当前页) |