form_generate_elements
Creates form designer elements from a JSON request schema, enabling VCF Automation forms to be built from schema definitions via the form-service API.
Instructions
Generate designer elements for a given request schema. POST /form-service/api/forms/designer/elements
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": {
"body": "<body>"
},
"name": "form_generate_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The request schema Also accepts: $ref, $data, $dynamicDefault. | |
| sourceId | No | The request source id | |
| sourceType | No | The request source type |