OptionaldroppedOutstanding tool calls of a turn that paused before this handshake —
non-empty only when resuming mid-pause (0.37.0). Unless
replayPendingToolCalls: false, each is also re-emitted to onToolCall
with replayed: true right after connect() resolves.
True when this is a representative (visitor-facing) session — i.e. a
visitor was supplied and the token holds represent.
Representative sessions only: whether this visitor is already paired with the owner (their two companions are friends). Lets you skip offering a "pair" affordance to an already-connected visitor.
Declared
toolsthe handshake refused (0.77.0) — present only when one was.indexis the position in thetoolsyou sent;reasonismissing_name(no stringname),duplicate_name(collides with an earlier tool once mapped to the provider's 64-char name rule) orover_cap(past the 32-tool cap). A refused tool is never offered to the model, so this is the one place a typo'd decl shows up. Aduplicate_nameentry also carriesname(the refused tool) andcollidesWith(the earlier tool it maps onto).