game_rpc
Call or configure RPC methods on Godot nodes to test networking and remote procedure calls. Specify node path, method, arguments, channel, and sync mode.
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 |