token_debug
Inspect a Facebook access token to identify its issuing app, granted scopes, owning Page or user, and expiration; omit the token to debug the configured one.
Instructions
Inspect an access token's app, scopes and expiry Debug a Facebook access token: which app issued it, the granted scopes, the Page or user it belongs to, and when it expires. Omit input_token to inspect the token this server is configured with. Graph API: GET debug_token. Needs an app access token to see other apps' tokens; a Page token can debug itself.
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": "token_debug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_token | No | ||
| access_token | No | Optional Facebook Page access token for this call only. Use it when the token you hold is not the one this server was configured with, or when the configured token has expired. Takes effect for this call and nothing else. Also accepted as token or page_token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||