check_form
See what a form's HTML and CSS would be saved as, without saving: the cleaned HTML and CSS, and what was removed. Use it before save_form.
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": {
"product_id": "<product_id>",
"html": "<html>"
},
"name": "check_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | The form's CSS. It applies inside the form only. No @import and no backslashes. | |
| html | Yes | The form's HTML. Layout and form tags only; mark the parts with data-help (get_form lists them). Scripts, images, inline styles and handlers are removed. | |
| product_id | Yes | The site's id (a uuid), from list_products. |