get_variables
Retrieve all variable names from RPG Maker MZ/MV projects to manage game data and configure events, items, and actors within the MCP server.
Instructions
Get all game variable 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_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/systemTools.ts:31-34 (handler)The implementation of the get_variables tool which retrieves the variables list from the System.json file.
export async function getVariables(projectPath: string): Promise<string[]> { const system = await getSystem(projectPath); return system.variables; }