refresh_token
Extend a valid long-lived Meta user access token via token exchange using META_APP_ID and META_APP_SECRET to keep API access active.
Instructions
Extend a valid long-lived user access token through Meta's documented token exchange flow. Requires META_APP_ID and META_APP_SECRET.
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": {
"long_lived_token": "<long_lived_token>"
},
"name": "refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| long_lived_token | Yes | Long-lived access token to refresh |