linkedin_exchange_code
Exchanges an OAuth authorization code for an access token after validating the session-generated state, completing the authorization flow.
Instructions
Exchange an OAuth authorization code for a token after checking the state generated in this session.
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>",
"state": "<state>"
},
"name": "linkedin_exchange_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||