Skip to content
providerkit
GitHub

questionTool

function questionTool(options?): Tool;

Defined in: agents/src/request.ts:263

The model can ask for text, one choice or several choices. For typed forms use a host-defined InputRequired question or a coordinator’s ask with a runtime validator.

Parameter Type
options { description?: string; name?: string; }
options.description? string
options.name? string

Tool