meta_refresh_token
Refresh a long-lived Meta token before expiry to obtain a new 60-day valid token, automatically applied to the running server for immediate use on Instagram or Threads.
Instructions
Refresh a long-lived token before it expires (must be at least 24h old). Uses platform-specific endpoints: Instagram (graph.instagram.com) or Threads (graph.threads.net). Returns a new long-lived token valid for 60 days. On success the new token is also applied in-memory to the running server, so subsequent tool calls use it immediately — no restart required (#65).
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>",
"platform": "<platform>"
},
"name": "meta_refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform: 'instagram' or 'threads' | |
| long_lived_token | Yes | Current long-lived access token to refresh |