save_refresh_token
Store an OAuth2 refresh token from Costco's Azure AD B2C to add a new account or update an existing one. The token remains valid for 90 days.
Instructions
Save a refresh token obtained from a browser login session.
Use this to add a new account or update an existing one. The refresh token is valid for 90 days.
Args: refresh_token: The OAuth2 refresh token from Costco's Azure AD B2C account: Account name (e.g. "personal", "spouse"). Creates the account if new. If empty, uses default account.
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": {
"refresh_token": "<refresh_token>"
},
"name": "save_refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh_token | Yes | ||
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |