Link to connect YouTube
connect_youtubeUse this when the owner wants to post their videos to their YouTube channel as Shorts, or a tool says YouTube is not connected. Returns a one-time link (10 minutes, works once) that connects the account's YouTube channel through Google's own login: its own Google screen, separate from the sending email's, asking only to upload videos. Once connected, a video made here can be posted to the channel as a Short (publish_video or schedule_video with platform "youtube"). Give the person the link and tell them: "you'll get a code by email at your account address" — the page emails a 6-digit code to the account's confirmed email, and only that code lets the connect go ahead (so a link sent to someone else is useless to them). Then wait for them to say it is done and call get_google_connections to confirm. If the link expires or was used, call this again for a fresh one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connect_youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Client website slug (or id). Leave out on your own account; required for platform-scoped keys. |