setManagedBotAccessSettings
Change a managed bot's access settings by restricting access to selected users and adding up to 10 users allowed to access it.
Instructions
Use this method to change the access settings of a managed bot. Returns True on success.
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": {
"user_id": "<user_id>",
"is_access_restricted": "<is_access_restricted>"
},
"name": "setManagedBotAccessSettings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User identifier of the managed bot whose access settings will be changed | |
| added_user_ids | No | A list of up to 10 identifiers of users who will have access to the bot in addition to its owner. Ignored if is_access_restricted is False. | |
| is_access_restricted | Yes | Pass True, if only selected users can access the bot |