snap_connect
Connects the server to a Snapchat ad account via a three-step in-chat flow: open an approval link, paste the redirected URL, then choose an ad account and restart the app.
Instructions
Connect this server to a Snapchat ad account, from inside the chat. Step 1: call with no arguments; it returns a link for the person to open and approve. Step 2: the person pastes the address the browser landed on; call with redirected_url, and it saves access on this computer and lists the ad accounts. Step 3: call with ad_account_id to choose one, then the app must be restarted. Changes no ads.
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": "snap_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_account_id | No | ||
| redirected_url | No |