get_canvas_head
Get head position for character rendering
How to use it
get_canvas_head is exposed by the WzImg MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_canvas_head tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install WzImg MCP Server
npx @modelcontextprotocol/inspector dotnet run --project WzImgMCPOther tools in WzImg MCP Server (39)
Clear loaded image cache
Export sound to MP3. Params: path, outputPath
Export canvas to PNG. Params: path, outputPath
Export property tree to Markdown and writes .md files. Params: path, maxDepth=5 (max 10), outputPath?. Error if >100KB without outputPath
Get frames. Params: path, metadataOnly=true, offset=0, limit=5 (max 50). Returns frameCount, totalDuration, hasMore
Get cache hit ratio and memory usage
Get image as base64 PNG
Get lt/rb bounds
Get frame delay in milliseconds
Get metadata (dimensions, format, origin, delay) without image data
Get draw offset point (X, Y)
Get child properties. Params: path?, compact=true, offset=0, limit=50 (max 500)
Get current data source metadata and cache stats
Get float value. Params: path, defaultValue?
Get integer value. Params: path, defaultValue?
Batch get. Params: requests[] with {category, image, path}
Get property with full metadata
Count child properties
Get full path of a property
Get just the value
Get audio as base64
Get metadata (duration, format, frequency)
Get string value. Params: path, defaultValue?
List subdirectories in a category
Get property tree. Params: path?, depth=2 (max 5), maxChildrenPerNode=50 (max 200). Hard limit: 1000 nodes
Get vector (X, Y)
Initialize data source from directory containing manifest.json. Params: basePath
Iterate with full metadata. Params: path?, offset=0, limit=50
List all canvases. Params: maxDepth=10
List available categories (Map, Mob, Npc, etc.)
List .img files. Params: category, subdirectory?
List child properties. Params: path?, compact=true, offset=0, limit=50 (max 500)
List all sounds. Params: maxDepth=10
Resolve inlink/outlink references
Resolve UOL to sound
Resolve UOL link to target property
Scan directory for available data sources. Params: path, recursive=true
Search by name pattern ( wildcards). Params: pattern, category?, image?, compact=true, maxResults=20 (max 200)
Search by value. Params: value, type?, category?, image?, compact=true, maxResults=20 (max 200)