Generate Embed Snippet
generate_embed_snippetGenerate an iframe snippet for a known frameable and authorized URL. Does not verify frameability by itself.
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": {
"url": "<url>"
},
"name": "generate_embed_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to embed. It must allow framing; check with inspect_url first. | |
| title | No | Accessible title attribute for the iframe. | |
| framework | No | Snippet flavor: html (plain iframe) or nextjs (React component). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||