net_set_function_rpc
Configure Unreal Engine Blueprint functions as networked RPC events. Set RPC type (server, client, multicast), reliability, and create missing custom events with optional typed inputs.
Instructions
Create or configure a Blueprint Custom Event as an RPC.
Args: blueprint_name: Actor Blueprint asset name or path. function_name: Custom Event/function name to configure. rpc_type: server, client, netmulticast, net_multicast, multicast, or none. reliable: Mark the RPC reliable when True. create_if_missing: Create the Custom Event if it does not already exist. inputs: Optional typed input pins, e.g. [{"name": "Damage", "type": "Float"}]. node_position: Optional [X, Y] graph position for newly created events. save: Save the Blueprint package after mutation. compile: Compile the Blueprint after mutation.
KB: see knowledge_base/20_NETWORKING_AND_REPLICATION.md#mcp-network-tools Example: net_set_function_rpc(blueprint_name="/Game/BP_Door", function_name="Server_RequestOpen", rpc_type="server")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| inputs | No | ||
| compile | No | ||
| reliable | No | ||
| rpc_type | No | server | |
| function_name | Yes | ||
| node_position | No | ||
| blueprint_name | Yes | ||
| create_if_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |