nsmcp::QuestionService method send (public)
<instance of nsmcp::QuestionService> send context question \ [ handle ] [ backendName ] [ browserTimezone ] [ peerAddress ] \ [ expectedTurn ] [ backendQuestion ] [ continuedFrom ]
Defined in /usr/local/ns/tcl/nsmcp/question-service.tcl
Queue a question or follow-up with optional browser timezone context. Retain authenticated ownership, backend selection and turn guards when queuing asynchronous provider work. Keep the displayed question separate from server-generated continuation instructions.
- Parameters:
- context (required)
- Authenticated request context carrying the principal, grants and selected server.
- question (required)
- Question text supplied to the selected provider.
- handle (optional)
- Existing conversation handle, or empty to create a new conversation.
- backendName (optional)
- Backend selection for a new conversation; empty retains the configured default.
- browserTimezone (optional)
- Validated browser timezone used unless the question overrides it; empty retains prior context or UTC.
- peerAddress (optional)
- Direct connection peer supplied by the authenticated HTTP adapter.
- expectedTurn (optional)
- Optional internal guard against continuing a superseded turn.
- backendQuestion (optional)
- Optional server-generated backend task, separate from the displayed question.
- continuedFrom (optional)
- Owned source-turn identifier when editing the original request.
- Returns:
- Rooted JSON triples describing the queued conversation.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)