Skip to content

Call Remote Chat Node

Events/Remote

Call a chat event in a connected project. Chunks, complete responses, widgets, attachments and session state are exposed while the remote chat streams.

call_remote_chatdataLong running
Inputs12
Outputs17
Security exposureUnrated
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

12

Input

Execution
exec_in

Project

String
_flow_remote_app_id

Connected project to invoke the event in

Event

String
_flow_remote_event

Chat event of the selected project

Event Details

String
_flow_remote_event_meta

Auto-filled by the editor when an event is selected. Drives the typed pins.

History

Struct
history

Conversation to send, including the new user message

HistoryHistory19 fields
modelstringrequired
messagesArray<HistoryMessage>required
itemsHistoryMessagearray item
roleRolerequired
enum "system", "user", "assistant", "function"...
contentMessageContentrequired
variant 1stringvariant
variant 2Array<Content>variant
namestring | null
tool_callsarray | null
itemsToolCallarray item
tool_call_idstring | null
+1 more fields
presetstring | null
streamboolean | null
stream_optionsanyOf (2)
variant 1StreamOptionsvariant
include_usagebooleanrequired
variant 2nullvariant
max_completion_tokensinteger | null
format uint32min 0
top_pnumber | null
format float
temperaturenumber | null
format float
thinkinganyOf (2)
variant 1HistoryThinkingvariant
enum "off", "low", "mid", "high"
variant 2nullvariant
seedinteger | null
format uint32min 0
presence_penaltynumber | null
format float
frequency_penaltynumber | null
format float
userstring | null
stoparray | null
itemsstringarray item
response_formatanyOf (2)
variant 1ResponseFormatvariant
variant 1stringvariant
variant 2nullvariant
ninteger | null
format uint32min 0
toolsarray | null
itemsToolarray item
typeToolTyperequired
enum "function"
functionHistoryFunctionrequired
namestringrequired
descriptionstring | null
parametersHistoryFunctionParametersrequired
tool_choiceanyOf (2)
variant 1ToolChoicevariant
variant 1nullvariant
variant 2nullvariant
variant 3nullvariant
variant 4objectvariant
typeToolTyperequired
enum "function"
functionHistoryFunctionrequired
variant 2nullvariant
+1 more fields
Default {"model":"","messages":[],"preset":null,"stream":true}
Schema enforced

Local Session

Struct
local_session

State local to this chat session

Default {}

Global Session

Struct
global_session

State shared for the remote chat user

Default {}

Tools

String Array
tools

Tool ids the remote assistant may use

Default []

Actions

Struct Array
actions

User actions included with the chat request

ChatActionChatAction2 fields
variant 1objectvariant
ButtonArray<value>required
variant 2objectvariant
FormArray<value>required
Default []
Schema enforced

Attachments

Struct Array
attachments

Attachments included with the chat request

AttachmentAttachment2 fields
variant 1stringvariant
variant 2ComplexAttachmentvariant
urlstringrequired
preview_textstring | null
thumbnail_urlstring | null
namestring | null
sizeinteger | null
format uint64min 0
+3 more fields
Default []
Schema enforced

User

Struct
user

User information forwarded to the remote chat

UserUser3 fields
substringrequired
namestringrequired
botboolean | null
Schema enforced

Timeout (s)

Integer
timeout_seconds

Maximum time to wait for the remote request to finish

Default 120

Output Pins

17

On Stream

Execution
on_stream

Fires for every output event produced by the remote chat

Done

Execution
exec_out

The remote chat completed

Chunk

Struct
chunk

Latest streamed response chunk

ResponseChunkResponseChunk8 fields
idstringrequired
choicesArray<ResponseChunkChoice>required
itemsResponseChunkChoicearray item
indexinteger:int32required
format int32
deltaanyOf (2)
variant 1Deltavariant
variant 2nullvariant
finish_reasonstring | null
logprobsanyOf (2)
variant 1LogProbsvariant
variant 2nullvariant
createdinteger | null
format uint64min 0
modelstring | null
service_tierstring | null
system_fingerprintstring | null
usageanyOf (2)
variant 1Usagevariant
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
variant 2nullvariant
+2 more fields
variant 2nullvariant
x_prefill_progressnumber | null
format float
Schema enforced

Response

Struct
response

Complete model response

ResponseResponse8 fields
idstring | null
choicesArray<Choice>required
itemsChoicearray item
indexinteger:int32required
format int32
finish_reasonstringrequired
messageResponseMessagerequired
rolestringrequired
contentstring | null
content_partsArray<Content>

Ordered structured content returned by Rig when the assistant response contains media. Text-only responses continue to use `content` alone for OpenAI compatibility.

refusalstring | null
annotationsarray | null
+3 more fields
logprobsanyOf (2)
variant 1LogProbsvariant
variant 2nullvariant
createdinteger | null
format uint64min 0
modelstring | null
service_tierstring | null
system_fingerprintstring | null
objectstring | null
usageUsagerequired
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
cached_tokensinteger | null
format uint32min 0
audio_tokensinteger | null
format uint32min 0
variant 2nullvariant
+2 more fields
Schema enforced

Response Text

String
response_text

Text of the complete response

Widgets

Struct Array
widgets

Widgets emitted by the remote chat

ChatWidgetChatWidget4 fields
instance_idstringrequired
widget_idstringrequired
surface_idstringrequired
updatesArray<value>

Ordered a2ui update messages targeting this widget that were streamed earlier in the run (before the push). The frontend replays them over the snapshot so element nodes (Set Element Value, Update GeoMap, Push CSV To Chart, …) work in the same run that pushes the widget.

default []
Schema enforced

Attachments

Struct Array
attachments_out

Attachments emitted by the remote chat

AttachmentAttachment2 fields
variant 1stringvariant
variant 2ComplexAttachmentvariant
urlstringrequired
preview_textstring | null
thumbnail_urlstring | null
namestring | null
sizeinteger | null
format uint64min 0
+3 more fields
Schema enforced

Actions

Struct Array
actions_out

Actions emitted by the remote chat

ChatActionChatAction2 fields
variant 1objectvariant
ButtonArray<value>required
variant 2objectvariant
FormArray<value>required
Schema enforced

Local Session

Struct
local_session_out

Latest remote local session state

Global Session

Struct
global_session_out

Latest remote global session state

Model ID

String
model_id

Model reported by the remote chat

Run ID

String
run_id

Remote run id

Status

String
status

Final run status

Plan

Struct
plan

Latest streamed reasoning plan

ReasoningReasoning3 fields
planArray<Array<value>>required
itemsArray<value>array item
current_stepinteger:uint32required
format uint32min 0
current_messagestringrequired
Schema enforced

Usage Stat

Struct
usage_stat

Latest model usage update

ChatUsageStatChatUsageStat2 fields
step_namestringrequired
statsLLMUsageStatsrequired
usageUsagerequired
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
variant 2nullvariant
+2 more fields
modelstring | null
duration_msinteger | null
format uint64min 0
iterationsinteger | null
format uint32min 0
callsArray<ModelCallEntry>
itemsModelCallEntryarray item
modelstringrequired
usageUsagerequired
duration_msinteger | null
format uint64min 0
Schema enforced

Event Type

String
event_type

Type of the latest streamed remote event

Event Payload

Generic
event_payload

Raw payload of the latest streamed remote event

Node Info

Internal name
call_remote_chat
Category
Events/Remote
Version
2