wps_wpp_add_shape
Insert basic shapes (rectangle, oval, diamond, arrow) into WPS slides for flowcharts and diagrams, with optional text and fill color.
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_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Y 坐标(默认 100) | |
| left | No | X 坐标(默认 100) | |
| text | No | 形状内文字(可选) | |
| width | No | 宽度(默认 150) | |
| height | No | 高度(默认 80) | |
| fill_color | No | 填充色 #RRGGBB(可选) | |
| shape_type | No | 形状类型,默认 rectangle | |
| slide_index | No | 幻灯片序号(默认当前页) |