facebook_pages_set_token
Verifies a pasted Facebook access token with debug_token, then applies it to later calls in this session so an expired configured token can be replaced without restarting; scope selects page or user.
Instructions
Use a different Facebook access token for the rest of this session Verify a pasted access token with debug_token, then use it for every later call in this process. Use it when the configured token has expired and a new one has just been minted: no restart is needed. scope 'page' replaces FB_PAGE_TOKEN, scope 'user' replaces FB_USER_TOKEN. The token is not written to the environment, so a restart goes back to the configured value. A token that debug_token rejects is not applied. Graph API: (local) after GET /debug_token.
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": {
"access_token": "<access_token>"
},
"name": "facebook_pages_set_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | page | |
| access_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||