forms_variants_create
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Create a draft Form variant from a returned builder_options.get variantTemplates templateId, an actual source or blank. A template retains its own layout; source/blank can explicitly choose single-step inline or multi-step. Inline creation flattens source questions and clears step routing, matching the editor. Does not publish or send.
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": {
"formId": "<formId>",
"name": "<name>",
"blank": "<blank>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "forms_variants_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| blank | Yes | ||
| formId | Yes | ||
| siteId | No | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| templateId | No | ||
| displayMode | No | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. | |
| sourceVariantId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |