Decide an intake card
colliedesk_intake_decideDecide a card that waits for a person or for AI: create opens a conversation with what the customer said, as one message (optional command: one of the channel's commands that opens a request, for its tags and priority; optional subject); attach adds it to conversation_id (one of the card's candidates, so the reply goes to the same customer); ignore sets it aside, with an optional ignore_reason (colliedesk_intake_requeue takes it back). To decide as AI suggested, send its action and conversation with follows_decision_id. The same decision again changes nothing; another one once the card is decided fails with gathering_decided and how it stands. Send item_count (the card's, as you read it): at auto a customer who writes again joins their waiting card, and a decision of fewer messages than it holds fails with gathering_changed: nothing is decided, AI reads the whole card again (state deciding), and it is back in the queue with every message (state review) when AI is not sure: read it then. Opening a conversation may tell the customer it was received, so create needs messages:send.
Needs: conversations:update.
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": {
"gathering_id": "<gathering_id>",
"action": "<action>"
},
"name": "colliedesk_intake_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| command | No | ||
| subject | No | ||
| item_count | No | The card's item_count as you read it; the decision is refused (gathering_changed) when the customer added messages since. | |
| gathering_id | Yes | From colliedesk_intake_list. | |
| ignore_reason | No | With ignore: not a request, answered in the chat, said already, or another reason. | |
| conversation_id | No | With attach. | |
| follows_decision_id | No | The card's suggestion.decision_id when deciding as AI suggested; its reply_kind comes with it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | Same shape as `card` in colliedesk_intake_get's output. | |
| items | No | ||
| decisions | No |