get_state
Inspect the current Mastercam session state—file, units, active machine/toolpath group, planes, work offsets, level, selection, and operation counts—before creating geometry or operations.
Instructions
What Mastercam is set to now: file, units, active machine/toolpath group, WCS / tool / construction planes (with work offsets), active level, selection count, operation and dirty-operation counts. Check it before creating geometry or operations: new operations go into the active group and take the current tool plane. The knowledge tool explains planes, chaining, linking and posting with measured facts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||