Run GeoGebra commands
ggb_run_commandsExecute GeoGebra commands in order on a live figure to create, redefine, or delete objects, returning per-command warnings and hints for failures.
Instructions
Run GeoGebra commands on the live figure, in order (English command names, e.g. "A = (-1, 6)", "M = Midpoint(B, C)", "ShowLabel(a, false)", "SetVisibleInView(h, 1, false)", "Delete(P)"). Assigning to an existing name REDEFINES that object and its dependents update. Returns, per command: ok, created/removed objects, warnings (undefined objects, names not created) and, for failures, hints about the likely cause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | Commands to run, one per item, in execution order | |
| stop_on_error | No | Stop at the first failed command (later commands usually depend on it). Default true. |