update_native_template
Modify an existing native ad template by changing its name, raw HTML, or adjusting its variables via add/remove operations.
Instructions
Update an existing native template. Variables uses add/remove format for updates.
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": {
"id": "<id>"
},
"name": "update_native_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Native template ID | |
| name | No | Template name | |
| raw_html | No | HTML template content with variable placeholders | |
| variables | No | Variables to add/remove |