generate_wordcloud
Create word cloud visualizations from text content with customizable themes, shapes, sizes, and output formats to highlight key terms and patterns.
Instructions
根据文字内容生成词云图
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": "generate_wordcloud"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 用于生成词云图的文字内容 | |
| theme | No | 词云图主题色彩 | default |
| shape | No | 词云图形状 | rectangle |
| wordGap | No | 文字间隙 | |
| fontSize | No | 文字大小范围 | |
| angleRange | No | 角度范围 | |
| angleStep | No | 角度步长 | |
| outputPath | No | 输出文件路径(支持绝对路径和相对路径) | ./wordcloud.svg |
| format | No | 输出格式(svg、png、jpg、jpeg、webp) | svg |
| backgroundColor | No | 背景颜色(十六进制颜色代码) | #ffffff |
| quality | No | JPG/WEBP 格式的质量设置(1-100) |