odoo_website_remove_snippet
Remove a specific snippet block from an HTML field using its absolute XPath, writing back the reduced HTML.
Instructions
Remove a snippet block from a target HTML field. Locates via snippet_xpath (absolute). Writes back the reduced HTML.
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": {
"model": "<model>",
"res_id": "<res_id>",
"field_name": "<field_name>",
"snippet_xpath": "<snippet_xpath>"
},
"name": "odoo_website_remove_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en_US | |
| model | Yes | ||
| res_id | Yes | ||
| dry_run | No | ||
| connection | No | default | |
| field_name | Yes | ||
| snippet_xpath | Yes |