connect
Link to a running hx-multianim game on a specified port and optional host to set up DevBridge and SSE sessions. Call it before other tools; obtain the actual port from game stdout.
Instructions
Connect to a game instance on a specific port (and optionally host). Sets up both DevBridge and SSE connections. Must be called before using any other tools. Default port is 9001, but the actual port should be obtained from the game's stdout output, e.g.: [DevBridge] Listening on port 9002
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | DevBridge host (default: localhost) | |
| port | Yes | DevBridge port number |