get_order_connection_setup_link
Get the browser setup link for a new standalone order connection, using a channel from list_order_channels. Use this when the user wants to add a standalone order connection. It only reads the channel and the account; it does not create a connection, save credentials or start OAuth. Returns status:'auth_required' and authUrl when this connection is included in the Koongo account; otherwise returns status:'rejected' without a link and a message: not included in this Koongo account → tell the user and stop; could not be confirmed right now → try again later; the channel does not support order connections → pick a channel from list_order_channels. The user completes authentication in the browser. Afterwards use get_order_overview, test_order_connection and configure_order_connection. project_id is optional for a single-project account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_api_code": "<channel_api_code>"
},
"name": "get_order_connection_setup_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| channel_api_code | Yes | channelApiCode of the channel to add (from list_order_channels). |