Get Embed Code
get_embed_codeThe embed code of a widget, with the steps to add it to WordPress, Wix, Shopify, Squarespace or a plain HTML page.
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": {
"widget_id": "<widget_id>"
},
"name": "get_embed_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_id | Yes | The widget's id (the id in list_widgets). |