Auth Exchange Code
auth_exchange_codeExchange an hh.ru OAuth authorization code for a token pair and save the tokens to the local profile, enabling authenticated hh.ru API access after redirect.
Instructions
Exchange an hh.ru OAuth authorization code for token pair.
Use after auth_get_login_url: pass the code parameter copied
from the redirect address. Tokens are stored in the local profile.
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": "auth_exchange_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||