connect_kicad
Connect to a running KiCad instance via IPC API. This must be called before any other tool operations.
Instructions
Connect to a running KiCad instance via the IPC API.
This must be called before any other operations. Ensure KiCad is running with the API server enabled in Preferences > Plugins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| socket_path | No | Optional path to IPC socket. If not provided, reads from KICAD_API_SOCKET environment variable or uses default platform path. | |
| kicad_token | No | Optional API token for authentication. | |
| timeout_ms | No | Connection timeout in milliseconds. Default 2000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||