game_rpc
Invoke or configure RPC methods on Godot nodes, specifying call action, arguments, and sync options for multiplayer networking.
Instructions
Call or configure RPC methods on nodes
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": {
"nodePath": "<nodePath>",
"action": "<action>",
"method": "<method>"
},
"name": "game_rpc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the RPC call | |
| mode | No | RPC mode: any_peer, authority | |
| sync | No | Sync mode: call_local, call_remote | |
| action | Yes | Action: call, configure | |
| method | Yes | Method name | |
| channel | No | Transfer channel | |
| nodePath | Yes | Path to the node |