connect
Establishes a connection to a selected backend, such as PyCFX, enabling subsequent CFX operations. Specify backend kind and connection options to configure.
Instructions
Connect the cfx leaf to a backend. Available backend kinds: ['pycfx']. Pass backend_kind to choose, or omit it to auto-select. Backend-specific options (url/token/ip/port/...) go in connect_kwargs as a dict and are forwarded to the backend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend_kind | No | Backend kind to connect, or ``None`` to use the default backend. Default is ``None``. | |
| connect_kwargs | No | Backend-specific connection options forwarded to the selected backend. Default is ``None``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | ||
| endpoint | No | ||
| candidates | No | ||
| error_code | No | ||
| backend_kind | No |