Refresh Instagram token
ig_refresh_tokenRefresh a long-lived Instagram access token for another 60 days when it is over 24 hours old and unexpired, then save it to IG_TOKEN_CACHE_PATH to persist across restarts.
Instructions
Refreshes the long-lived access token for another 60 days (the token must be at least 24 hours old and not expired). The new token is saved to IG_TOKEN_CACHE_PATH; without it the new token only lives until the server restarts.
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": "ig_refresh_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||