create_node_with_icon
Create a labeled shape with an icon above the text for scientific diagram nodes. Customize icon name, label, position, shape, and colors.
Instructions
Create a labeled shape with an icon inside — perfect for scientific diagram nodes. The icon is placed above the text label within the shape.
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": {
"icon_name": "<icon_name>",
"label": "<label>",
"x": "<x>",
"y": "<y>"
},
"name": "create_node_with_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| label | Yes | Node label text | |
| width | No | Node width (default 160) | |
| height | No | Node height (default 80) | |
| font_name | No | ||
| icon_name | Yes | IconPark icon name | |
| text_size | No | ||
| fill_color | No | ||
| icon_color | No | Icon color as hex | |
| shape_type | No | Shape type (default "RoundedRectangle") | |
| text_color | No | ||
| corner_radius | No |