group_operation
Compute group properties (order, is_abelian, center_order) for a given Sage group by specifying the operation. Returns the requested group theory result.
Instructions
Group theory: construct groups and query properties (order, is_abelian, center, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Sage group constructor, e.g. 'SymmetricGroup(5)', 'DihedralGroup(4)', 'CyclicPermutationGroup(6)', 'AlternatingGroup(5)' | |
| 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: order, is_abelian, is_cyclic, center_order, conjugacy_classes_count, exponent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||