Create Short Link
create_short_linkMake a tracking short link (e.g. https://thebridge.dev/tt/code8) to put in a social post or video description. A click is counted (no cookie, no IP) and forwarded to the destination with utm tags (utm_source = platform, utm_medium, utm_content = format, utm_campaign = label) and ref=. Arguments: destination (required; the https page the link opens), source (where the link will be posted: the post or channel URL, a platform name such as "TikTok", or free text such as "an Instagram reel"; the platform and format are detected from it), label (the content's name, e.g. "passkeys video"). Use the SAME label for the same content on another channel: the link then shares the content's code (thebridge.dev/yt/code8 and /tt/code8). If the user did not say where the link will be posted, ask them before calling; without a source the link is filed as "other" (thebridge.dev/go/…). Returns the short link, its code, and the detected platform and format. The link works at once. list_short_links shows the workspace's links with click counts.
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": {
"destination": "<destination>"
},
"name": "create_short_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Name of the content, e.g. "passkeys video". The same label on another channel reuses the code. | |
| source | No | Where the link will be posted: the post or channel URL (https://www.tiktok.com/@devjoy/video/123), a platform name ("YouTube Shorts"), or free text. Omit only when unknown. | |
| destination | Yes | The https page the link opens, e.g. "https://thebridge.dev/pricing". Only https is accepted. |