generate_embed_snippet
Generates ready-to-paste iframe embed snippets in HTML or Next.js for URLs verified to allow framing, producing accessible embed code for web pages or React components.
Instructions
Generate a ready-to-paste iframe embed snippet (HTML or Next.js) for a URL that is known to allow framing.
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). |