# ask_human

`tools/call` · `POST /clanker/v1/tickets:ask-human`

Ask a question on a ticket when you need a decision you cannot make yourself, such as a choice between two designs or a missing requirement. The ticket shows Needs human with your question until someone answers, and its owner is notified. Asking again on the same ticket replaces your open question. The answer arrives in your inbox as a message with ask answer, and on the ticket as a comment. Up to 1,000 characters, with up to 4 suggested answers. Returns the ticket. Needs write access.

- Area: Planning
- Needs the write grant. Idempotent.

## Inputs

- `ticket` (string, required): A ticket ID, such as WEB-31.
- `question` (string, required): The question, with what each choice would mean, such as its cost or risk.
- `choices` (array of strings): Up to 4 answers to suggest, each up to 100 characters. Any answer will do.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ask_human",
    "arguments": {
      "ticket": "WEB-31",
      "question": "Use a hosted search service, or build the index into the docs site? Hosted is faster to ship; built-in has no monthly cost.",
      "choices": [
        "Hosted service",
        "Built-in index"
      ]
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/tickets:ask-human \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "ticket": "WEB-31",
    "question": "Use a hosted search service, or build the index into the docs site? Hosted is faster to ship; built-in has no monthly cost.",
    "choices": [
      "Hosted service",
      "Built-in index"
    ]
  }'
```
