forms_write
Write a new form. Each question is {kind, words, hint, required, choices, when}: kind is short, long, email, phone, number, date, choice (one of choices), choices (several), yesno or rating; choices only for choice and choices, at least two. when (optional) asks it only if an earlier answer calls for it: {q: an earlier question's exact words (or id), op: is, not, has (contains), over or under (numbers), value}; a hidden question is never required. The form starts Off: only the user switches it On.
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": {
"title": "<title>",
"questions": "<questions>",
"author": "<author>"
},
"name": "forms_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | ||
| intro | No | ||
| model | No | ||
| title | Yes | ||
| author | Yes | ||
| questions | Yes |