ask
ActiveTool of pingwa
Ask the human a question on WhatsApp and BLOCK until they reply (or timeout). `text` is the question. `buttons` (optional, up to 3) render as tappable reply buttons; omit them to invite a free-text answer the human types on their phone — use this to let the human steer you mid-task. `timeout` is seconds to wait (max 90). Returns the human's reply (free text and/or the chosen option). On timeout, returns a note — the question was delivered and the answer is still retrievable via `check_replies`.
Parameters schema
{
"type": "object",
"title": "askArguments",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"buttons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Buttons",
"default": null
},
"timeout": {
"type": "integer",
"title": "Timeout",
"default": 60
}
}
}Parent server
pingwa
https://github.com/grzgrzgrz3/pingwa-client
1/7 registries