get_items
Retrieve all item data from RPG Maker MZ/MV projects to manage game assets, enabling users to access and organize items for game development.
Instructions
Get all items from the project
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_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/itemTools.ts:7-10 (handler)The implementation of the getItems tool, which reads the Items.json file from the specified project path.
export async function getItems(projectPath: string): Promise<Item[]> { const itemsPath = getDataPath(projectPath, 'Items.json'); return await readJsonFile<Item[]>(itemsPath); }