ask_form
Present a small form on a canvas and block until the user submits or times out, returning validated field values so agents can collect structured human input.
Instructions
Ask the human to fill in a small form on the canvas and BLOCK until they press Submit (or the timeout passes). Field types: text, textarea, number, slider (needs min/max), select (needs options), checkbox. Returns {submitted:true, values:{fieldId: value}} or {submitted:false, reason}. Values are checked against the fields (required, min/max, options) before you get them.
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": {
"prompt": "<prompt>",
"fields": "<fields>"
},
"name": "ask_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| fields | Yes | ||
| prompt | Yes | What you need, e.g. "Configure the load test". | |
| submitLabel | No | ||
| timeoutSeconds | No | How long to wait, default 180, max 900. |