GeoGebra API guide

geogebra.org

Use GeoGebra to plot points, build shapes from geometry commands, and inspect named objects on your canvas.

Actions and inputs

geogebra add-point

Create a named point at the given coordinates.

Inputs name, x and y coordinates

geogebra add-line

Draw a line, segment, or ray through two existing points.

Inputs two point labels, line type

geogebra eval

Run one or more geometry commands on a fresh canvas.

Inputs semicolon-separated geometry commands

geogebra info

Inspect a named object on a populated canvas.

Inputs object label

Point on your GeoGebra canvas

Create

Create a named point on your canvas.

Inputs point label, x and y coordinates

Read

Inspect the point on your canvas.

Inputs point label

Update

Move the point to new coordinates.

Inputs point label, new x and y coordinates

Delete

Remove the point from your canvas.

Inputs point label