Get a privacy setting
get_privacyFetches current privacy rules for a specified Telegram setting, like online status, profile photo, or phone number. Returns active rules for that key.
Instructions
Return current rules for one privacy key.
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": {
"key": "<key>"
},
"name": "get_privacy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| accountId | No |