Ask User Question Async
ask-user-question-asyncAsk the user a question with structured choices when this workflow is running on a cloud agent and no live UI session is attached. Requires workflowExecutionId. Do not call from a local IDE chat or when CHIMPHANDS_UI_ATTACHED is set — ask in the conversation instead. Put the recommended choice first. Notifies the automation's humans by email/Slack, or fans out to a live ChimpHands session when one is attached. One open question per execution.
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": {
"workflowExecutionId": "<workflowExecutionId>",
"question": "<question>",
"choices": "<choices>"
},
"name": "ask-user-question-async"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| choices | Yes | ||
| question | Yes | ||
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. | |
| chimphandsSessionId | No | ||
| recommendedChoiceId | No | ||
| workflowExecutionId | Yes |