ai_add_text
Add text to an Illustrator document with specified content, font size, coordinates, and RGB color values.
Instructions
在当前 Illustrator 文档中添加文字。text 为文字内容,size 字号(点),x/y 为位置,fr/fg/fb 为颜色。
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>"
},
"name": "ai_add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X 坐标(点) | |
| y | No | Y 坐标(点) | |
| fb | No | 颜色 B 0-255,可选 | |
| fg | No | 颜色 G 0-255,可选 | |
| fr | No | 颜色 R 0-255,可选 | |
| size | No | 字号(点),默认 24 | |
| text | Yes | 文字内容 |