user_add_ip_whitelist_entry
Add an IP address or subnet to a user's whitelist to control access. Provide user ID, subnet, and subnet size to update the allowlist.
Instructions
Add an IP address or subnet to a user's whitelist.
Args: user_id: The user ID (UUID) or email address subnet: The IP address or subnet to add (e.g., "8.8.8.0", "192.168.1.100") subnet_size: The subnet size (e.g., 24 for /24, 32 for single IP) ctx: FastMCP context for resource change notifications
Returns: Status message confirming addition
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>",
"subnet": "<subnet>",
"subnet_size": "<subnet_size>"
},
"name": "user_add_ip_whitelist_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subnet | Yes | ||
| user_id | Yes | ||
| subnet_size | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||