integrations_set_realtime
Add, replace or remove the realtime (websocket) connector of an HTTP-API integration, leaving the rest of its configuration and its credentials untouched. realtime is the whole block: {protocol: 'actioncable' | 'raw_json', ws_url, auth: {type, placement: 'header' | 'query', query_param, token_mint: {method, path, token_path}}, channel_template, actions: [{name, description, is_write, input_schema, frame}]}. Its actions become tools of the integration. To remove the connector pass remove=true and no block. Needs the admin or owner role.
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": {
"integration_id": "<integration_id>"
},
"name": "integrations_set_realtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | true = delete the connector and its tools. OMIT to set a block. | |
| realtime | No | The whole realtime block. OMIT only together with remove=true. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| integration_id | Yes | The integration to change (from integrations.list). |