Render word cloud
render_word_cloudGenerate a shape-based word cloud from text or weighted words and return the rendered artifact URL or image.
Instructions
Create a ShapeWords word cloud, wait for completion, and return the artifact URL plus optional image content.
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": "render_word_cloud"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Unsigned 32-bit layout seed for reproducible browserless ShapeWords renders. Canvas-profile default: 0. Use engine auto or browserless; browser fallback does not support non-zero seed. | |
| text | No | Words, phrases, notes, or source text for the word cloud. Optional when words[] is provided. | |
| width | No | Canvas width in pixels. Canvas-profile default: 800. | |
| words | No | Explicit weighted words. Use this when another system already tokenized, lemmatized, or scored the input. | |
| engine | No | Renderer engine. auto uses the hosted renderer; skia uses the local MCP shared-core + CanvasKit renderer without server-side Chromium. | |
| format | No | Output artifact format. Canvas-profile default: svg. | |
| height | No | Canvas height in pixels. Canvas-profile default: 600. | |
| locale | No | ShapeWords UI/render locale. Canvas-profile default: en. | |
| padding | No | Word collision padding in pixels. Canvas-profile default: 3. | |
| palette | No | ||
| quality | No | sq is faster, hq renders at higher device scale. Canvas-profile default: hq. | |
| fillMode | No | Shape filling strategy. Canvas-profile default: fill. | |
| maxWords | No | Maximum number of words to lay out. Canvas-profile default: 700. | |
| colorMode | No | ||
| rotations | No | Explicit rotation angles in degrees. When provided, these override rotationPreset. | |
| shapeType | No | ShapeWords shape id, for example circle, rectangle, heart, star, cloud, diamond, custom. Canvas-profile default: cloud. | |
| background | No | Output background style. Canvas-profile default: white. | |
| fontFamily | No | ShapeWords font family name. Canvas-profile default: Montserrat. | |
| spiralType | No | Placement spiral algorithm. Canvas-profile default: archimedean. | |
| maxFontSize | No | ||
| minFontSize | No | ||
| returnImage | No | Download the artifact and return it as MCP image content when supported by the client. | |
| returnLayout | No | Include layout JSON when supported. Canvas-profile default: false. | |
| pollTimeoutMs | No | ||
| renderProfile | No | Default option profile. canvas matches the main ShapeWords canvas; api keeps the older compact Render API defaults. | canvas |
| pollIntervalMs | No | ||
| rotationPreset | No | Rotation preset matching the ShapeWords canvas. Canvas-profile default: orthogonal. | |
| customShapeDefinition | No | Custom SVG shape definition used when shapeType is custom. |