Get active users
amp_get_active_usersRetrieve a mapping of session UIDs to usernames for all currently connected users on a specified AMP game server instance.
Instructions
List currently connected users / players for one AMP instance. Returns a map of session UID to username.
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": {
"instanceId": "<instanceId>"
},
"name": "amp_get_active_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance UUID, as returned by amp_list_instances |