Snap: choice question
snap_choiceAsk Snap to choose one labeled option from 2-255 for a given state, returning the pick, a confidence score, and a probability for every option.
Instructions
Ask SubQ's Snap decision model a single Choice question: pick one of 2-255 labelled options for a state. Returns the chosen option, a confidence value, and a probability for every option, under the question name "answer".
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": {
"state": "<state>",
"instructions": "<instructions>",
"options": "<options>"
},
"name": "snap_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional Snap model id override (default: subq-snap-1.2). | |
| state | Yes | The situation to decide about: text, a JSON object, or a JSON array. | |
| images | No | Up to 4 images for this request. PNG, JPEG, or WebP, base64-encoded with no data: prefix; at most 4 MiB decoded each, 8 MiB in total. Every question in the request sees every image. | |
| options | Yes | Object mapping each option label to a description (string, structured object/array, or null; 2-255 options). | |
| instructions | Yes | What Snap should decide: plain-language text, or structured JSON. |