alibaba_complete_authorization
Exchange the OAuth authorization code from the callback for an access token and store it, enabling authenticated Alibaba.com seller actions.
Instructions
Exchange an OAuth code (from the callback) for an access token and store it.
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": {
"code": "<code>"
},
"name": "alibaba_complete_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| error_type | No | ||
| expires_at | No | ||
| account_key | No | ||
| has_refresh_token | No |