geogebra_create_construction
Create a GeoGebra construction from a structured design dict. Auto-hides auxiliary circles and plays animation.
Instructions
Create a construction from a structured design dict. Preferred over geogebra_draw_mechanism for AI clients — no JSON string wrapping needed.
design dict format: {"perspective":"G", "animate":"α", "speed":0.5, "commands":["O1=(0,0)","O2=(6,0)","α=45°",...], "styles":[{"label":"A","color":[1,0,0],"point_size":5},...]}
Auto-behavior (no manual steps needed):
Auxiliary circles named c1, c2, c3... are automatically hidden.
The animation slider is auto-made visible and set to play.
Construction must use 'c1', 'c2' etc. for circles to be auto-hidden.
Args: name: Output filename stem design: Dict with perspective, commands, styles, animate, and speed output_dir: Output directory (default: cwd)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| design | Yes | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |