finish_account_auth
Finish account authentication by exchanging the authorization code and storing token.json, enabling secure Gmail access.
Instructions
Complete OAuth onboarding by exchanging authorization code and storing token.json.
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": {
"account_id": "<account_id>",
"authorization_code": "<authorization_code>"
},
"name": "finish_account_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Account id used in begin_account_auth. | |
| authorization_code | Yes | OAuth authorization code from Google redirect. |