messenger_get_user_profile
Retrieves a Messenger user's public profile fields—such as name, locale, and profile picture—using their Page-Scoped User ID.
Instructions
Fetch a Messenger user's public profile fields (name, locale, profile pic).
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": {
"psid": "<psid>"
},
"name": "messenger_get_user_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| psid | Yes | Page-Scoped User ID (PSID) of the recipient | |
| fields | No | Comma-separated Graph field list | first_name,last_name,profile_pic,locale,timezone,gender |
| access_token | No | Page Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env) |