Add a link
add_linkAdd any URL and get the right widget automatically, like pasting a link in the editor: YouTube/Vimeo videos become players, Spotify/SoundCloud/Apple Music/Deezer become music players, Instagram/TikTok/X/YouTube channel/Twitch/Discord/Behance/LinkedIn/Threads/Patreon… profiles become rich profile cards, GitHub profiles show contributions, phone numbers become call links, other sites become links with their preview image. Prefer this over add_widget for anything that is a URL.
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": "add_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The link, e.g. "https://youtube.com/watch?v=…" or "instagram.com/name". | |
| page | No | Which page: "home" (the default) or a subpage slug from list_pages. | |
| size | No | Tile size on the 8-column desktop grid: small 2×2 (quarter row), wide 4×2 (half row), tall 2×4, large 4×4, banner 8×2 (full row). Phones use a 4-column grid, so wide/large/banner fill the phone width. | |
| title | No | Optional button title (links and profile cards only). | |
| position | No | Where it goes in reading order: "top", "bottom" (default), "after:<widget id>" or "before:<widget id>". "top" puts it right under the name and bio. |