connect
Establishes a session with a running FreeCAD instance that has the AI Bridge addon loaded, required before invoking any other TommeCAD FreeCAD MCP tools.
Instructions
Connect to a running FreeCAD instance with the AI Bridge addon.
Must be called before using any other tools. FreeCAD must be running
with the FreecadAIBridge addon loaded.Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.
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": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Trusted local bridge host; default IPv4 loopback. No remote security or authentication promised. | 127.0.0.1 |
| port | No | XML-RPC TCP port; default 9875, isolated tests may use another port. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |