get_tile_reference
Retrieve reference information for VibeTide tile types and their properties to assist with level creation and editing.
Instructions
Get the reference guide for VibeTide tile types.
Returns information about all available tile types and their properties.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- vibe_tide_mcp_server.py:1146-1163 (handler)The core handler function for the 'get_tile_reference' tool. It is decorated with @mcp.tool() for automatic registration in the MCP server and simply returns a dictionary containing the TILE_TYPES constant along with usage notes.@mcp.tool() async def get_tile_reference() -> Dict[str, Any]: """Get the reference guide for VibeTide tile types. Returns information about all available tile types and their properties. """ return { "success": True, "tile_types": TILE_TYPES, "message": "VibeTide Tile Reference Guide", "usage_notes": [ "Tile types are represented by integers 0-7", "Use these numbers when editing levels", "Empty tiles (0) represent walkable air space", "Platform tiles (1-3) are solid ground", "Special tiles (4-7) have unique properties", ], }
- vibe_tide_mcp_server.py:42-51 (helper)Global constant dictionary defining the 8 tile types (0-7) with names, symbols, and descriptions. This is the core data returned by the get_tile_reference tool and used throughout the codebase for visualization and editing.TILE_TYPES = { 0: {"name": "Empty", "symbol": "⬜", "description": "Walkable air space"}, 1: {"name": "Grass", "symbol": "🌱", "description": "Standard ground platform"}, 2: {"name": "Rock", "symbol": "🗿", "description": "Solid stone platform"}, 3: {"name": "Yellow", "symbol": "⭐", "description": "Special yellow platform"}, 4: {"name": "Ice", "symbol": "❄️", "description": "Slippery ice platform"}, 5: {"name": "Red", "symbol": "🔥", "description": "Dangerous red platform"}, 6: {"name": "Spikes", "symbol": "⚠️", "description": "Hazardous spikes"}, 7: {"name": "Water", "symbol": "💧", "description": "Water tiles"}, }
- vibe_tide_mcp_server.py:1215-1215 (registration)The mcp.run() call in main() that starts the MCP server and registers all decorated tools, including get_tile_reference.mcp.run()