Start a flow on a client's conversation
assign_flowStarts a flow on a client's conversation, as the Inbox's Start a flow (or Assign & clear on the conversation list) does. flowId names an active flow (read('flows')); give conversationId, or a clientId and Sergio finds or opens that client's thread. clear true takes the thread out of Needs Attention in the same move (it is refused with the reason while the client is owed a reply). deadline_overrides moves named steps' deadlines by index. The run starts only after its steps are in place; it sends nothing on its own. start_conversation_flow is the thread's own flow picker; this one also reaches a client with no open thread. Pass the same idempotency_key when retrying; a repeat returns the same run.
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": {
"flowId": "<flowId>",
"idempotency_key": "<idempotency_key>"
},
"name": "assign_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Also clear the thread out of Needs Attention, as Assign & clear does. | |
| flowId | Yes | ||
| clientId | No | Start on this client's thread (found, or opened if none). Give this, or conversationId. | |
| variant_key | No | A variant to start, when the flow defines variants. | |
| conversationId | No | The thread to start the flow on. Give this, or clientId. | |
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. | |
| deadline_overrides | No | Move named steps' deadlines, keyed by step index. |