geometry_operation
Compute geometric properties of point sets: euclidean distance, polygon area, polytope volume, convex hull vertices, and convexity tests.
Instructions
Computational geometry on point sets: euclidean distance, polygon area, polytope volume, convex hull vertices and convexity tests. Prefer this over evaluate_sage for these.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | List of points as coordinate lists | |
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
| operation | Yes | One of: distance, polygon_area, polytope_volume, convex_hull_vertices, is_convex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||