add_polygon
Create a polygon in a ManimGL scene by specifying vertices, color, fill opacity, and stroke width for mathematical animations.
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": {
"vertices": "<vertices>"
},
"name": "add_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #FFFFFF | |
| vertices | Yes | ||
| fill_opacity | No | ||
| stroke_width | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||