get_switches
Retrieve all game switch names from RPG Maker MZ/MV projects to manage event triggers and conditional logic in game development.
Instructions
Get all game switch names
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_switches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/systemTools.ts:54-57 (handler)Implementation of the get_switches tool handler.
export async function getSwitches(projectPath: string): Promise<string[]> { const system = await getSystem(projectPath); return system.switches; }