Refresh Access Token
instagram_refresh_tokenRefresh an Instagram long-lived access token for another 60 days and return the new value; save it to IG_ACCESS_TOKEN to avoid using the old token after restart.
Instructions
Extend the configured long-lived access token and return the new one.
instagram_login: refreshes an Instagram long-lived token for another 60 days. The token must be at least 24 hours old and not yet expired. facebook_login: exchanges the token for a fresh long-lived one; needs IG_APP_ID and IG_APP_SECRET.
This does NOT write the new token anywhere. Save the returned value into IG_ACCESS_TOKEN yourself, or the next restart uses the old one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "instagram_refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||