game_op
Invoke a custom query or command registered by the running game. Use list_game_ops to discover available ops and their parameters.
Instructions
Invoke a game-specific custom query or command registered by the running game. Use list_game_ops to discover available ops and their param shapes. Returns {kind: "query"|"command", op, result}. Errors with code "not_found" for unknown ops, "internal" if the handler throws.
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": {
"op": "<op>"
},
"name": "game_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Op identifier (from list_game_ops) | |
| params | No | Handler-specific params object |