update_smartform
Replace an existing Smartform XML source, locking and unlocking it around the PUT, with optional activation; production profiles are refused.
Instructions
Replace the entire XML source of an existing Smartform (STXFORMS). Locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles.
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": {
"smartformName": "<smartformName>",
"source": "<source>"
},
"name": "update_smartform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete replacement Smartform XML. | |
| activate | No | Activate after writing. | |
| transport | No | Transport request. | |
| smartformName | Yes | Smartform name, e.g. ZSF_INVOICE |