Bind a connection to a worker
binding_createBind a connection to a worker for outbound API calls, inbound app triggers, or both. Define the purpose to enable worker-connection interactions.
Instructions
Bind a connection to a worker so the worker can use it. purpose: OUTBOUND (worker calls your API), INBOUND (your app triggers the worker), or BOTH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ||
| workerId | Yes | the worker id | |
| connectionId | Yes | the connection id |