List sessions
gameye_list_sessionsLists game server sessions with host, ports, and connection strings, returning running sessions by default and optionally all statuses with label, image, host, location, or player-count filters.
Instructions
List game server sessions with host, ports and connection string. By default only running sessions are returned; pass all=true to include sessions in every status. filter and filterNot match user labels only (the labels given at launch), not system fields such as image or location — use the dedicated parameters for those. Values of the session's environment are never shown. Needs GAMEYE_API_TOKEN; without one, returns setup steps and sends nothing.
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": "gameye_list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include sessions in every status (default: running sessions only) | |
| tag | No | Filter by image tag/version | |
| host | No | Filter by host IP | |
| image | No | Filter by image name | |
| filter | No | Only sessions whose user labels match every key=value pair | |
| location | No | Filter by location/region | |
| filterNot | No | Exclude sessions whose user labels match these key=value pairs | |
| playerCountGt | No | Only sessions with more than N players | |
| playerCountLt | No | Only sessions with fewer than N players |