ads_mastodon_auth_complete
Complete a pending Mastodon OAuth connection by submitting the instance-provided one-time authorization code and state, without logging or returning the code.
Instructions
Complete a pending Mastodon OAuth connection with the one-time code shown by the instance. The code is not logged or returned.
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": {
"state": "<state>",
"code": "<code>"
},
"name": "ads_mastodon_auth_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | One-time authorization code shown after approving access | |
| state | Yes |