generate_topic_wordcloud
Create a word cloud image for a topic, showing key words with size proportional to their importance. Provide topic ID and output path to save as PNG.
Instructions
Generate word cloud visualization for a topic. Creates an image file showing the most important words in a topic with size proportional to their weights.
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": {
"topic_id": "<topic_id>",
"output_path": "<output_path>"
},
"name": "generate_topic_wordcloud"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | Topic ID to visualize | |
| output_path | Yes | Path to save the word cloud image (PNG) | |
| width | No | Image width in pixels (default: 800) | |
| height | No | Image height in pixels (default: 400) | |
| background_color | No | Background color (default: 'white') | white |