Connect an account
get_connect_linkGives a link for the person to open and connect an account. The link is for them, not you: show it, and don't open it yourself. Use it when get_publishing_context shows the account they want isn't connected. Don't use it to post. Example: they ask to post on Instagram and it isn't connected, so call this with network instagram and show them the link.
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": "get_connect_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | No | A link from an earlier call, to see whether the person has finished | |
| network | No | Which network to make a link for. Left out, this lists what's connected | |
| workspace_id | No | Left out, the person's first workspace |