meta_refresh_token
Extend an Instagram or Facebook user access token via token exchange, or refresh a Threads long-lived token using the Threads refresh endpoint.
Instructions
Extend an Instagram/Facebook user token through the token-exchange flow, or refresh a Threads long-lived token through the Threads refresh endpoint.
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": "meta_refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Token platform. Defaults to instagram for backward compatibility. | |
| long_lived_token | Yes | Current long-lived access token to refresh |