get_selection
Retrieve the current selection in the FreeCAD GUI, including parts, faces, or edges the user has highlighted. Helps interpret references like 'this part' or 'the selected face' in modeling commands.
Instructions
Read what the user currently has selected in the FreeCAD GUI.
Useful when the user says "this part" or "the selected face".
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_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||