Get share link
get_share_linkReturns a video’s shareable URL with its visibility, optionally copying it to the macOS clipboard. Use it to get youtu.be or youtube.com watch links from a video ID or URL.
Instructions
Return the shareable URL of a video (with its visibility), optionally copying it to the macOS clipboard.
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": {
"video_id": "<video_id>"
},
"name": "get_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | YouTube video ID (11 characters) or any youtube.com / youtu.be URL. | |
| link_format | No | 'short' (youtu.be) or 'watch' (youtube.com/watch). | short |
| copy_to_clipboard | No | Also copy the URL to the macOS clipboard. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||