linkedin_exchange_authorization_code
Exchange a LinkedIn OAuth authorization code for access tokens and store them locally to enable authenticated LinkedIn operations.
Instructions
Exchange a LinkedIn OAuth authorization code for tokens and store the token locally.
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": {
"client_id": "<client_id>",
"client_secret": "<client_secret>",
"redirect_uri": "<redirect_uri>",
"code": "<code>"
},
"name": "linkedin_exchange_authorization_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| client_id | Yes | ||
| redirect_uri | Yes | ||
| client_secret | Yes | ||
| return_access_token | No | When false, access_token is redacted from the tool result. |