gp_current_users
List currently active GlobalProtect sessions on a gateway firewall, optionally filtered by user, device, or device group for targeted visibility.
Instructions
[READ-ONLY] GlobalProtect users currently connected to a gateway firewall (show global-protect-gateway current-user), optionally for one user.
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": "gp_current_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | User name, with or without domain (e.g. 'jdoe' or 'corp\\jdoe') | |
| device | No | GlobalProtect gateway firewall. Inferred from the user's traffic when omitted. | |
| firewall | No | Panorama entry from firewalls.json. Optional when a single Panorama is configured. | |
| device_group | No | Device group name (includes what it inherits from shared and parent groups), or 'shared'. When omitted, every location is searched. |