query_server
Retrieve Perforce server metadata and version, or current authenticated user information and permissions. Supports server_info and current_user actions.
Instructions
Get server info and current user information (READ permission)
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": {
"action": "<action>"
},
"name": "query_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Server query action: server_info returns P4 server metadata and version, current_user returns authenticated user details and permissions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||