add_quit_game_node
Add a QuitGame node to a Blueprint to exit the application. Set quit preference and position for automated editor workflows.
Instructions
Add a QuitGame node to exit the application.
From Ch. 8 (Win/Lose menu Quit button) and Ch. 11 (Pause menu).
Args: blueprint_name: Blueprint to add the node to quit_preference: "Quit" or "Background" node_position: [X, Y] graph position
KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: add_quit_game_node(blueprint_name="/Game/MCP_Test/BP_Example")
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": {
"blueprint_name": "<blueprint_name>"
},
"name": "add_quit_game_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes | ||
| quit_preference | No | Quit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |