ads_mastodon_auth_start
Initiates a Mastodon OAuth 2 + PKCE account connection for one instance, returning an authorization URL to open and complete with a one-time code.
Instructions
Start a Mastodon OAuth 2 + PKCE account connection for one instance. Open the returned authorization_url and then complete it with the one-time code.
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": {
"instance_url": "<instance_url>"
},
"name": "ads_mastodon_auth_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | OAuth scopes; read:follows is always added so existing subscriptions can be checked before following | |
| account_id | No | Local account label used by later tools | |
| client_name | No | Optional Mastodon application name; otherwise account-specific or global default is used | |
| force_login | No | Ask the instance to show its login form even when a session exists | |
| instance_url | Yes | Mastodon instance origin, for example https://mastodon.social |