{"ok":true,"site":{"host":"pixelaid.oscarsanchez.com","url":"https://pixelaid.oscarsanchez.com/","type":"live","desc":"PixelAid","tools":[{"name":"get_editor_state","kind":"answer","impl":"imperative","description":"Read the current PixelAid assets, selection, fix settings, recommendation, result summary, viewport presentation, export configuration, validation, busy state, and warnings. Does not change the editor.","title":"Get PixelAid editor state","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"select_asset","kind":"act","impl":"imperative","description":"Select one asset already imported into the current PixelAid page by asset ID. Does not import, delete, or overwrite files.","title":"Select a PixelAid asset","inputSchema":{"type":"object","properties":{"assetId":{"type":"string","minLength":1,"description":"Asset ID returned by get_editor_state."}},"required":["assetId"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"run_auto_suggest","kind":"act","impl":"imperative","description":"Analyze the selected asset with PixelAid's existing worker flow and apply its recommended editor settings. Changes editor settings and waits for analysis to finish.","title":"Run PixelAid Auto Suggest","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"update_fix_settings","kind":"act","impl":"imperative","description":"Apply a narrow validated patch to the selected asset's current PixelAid fix settings. Unknown or incompatible fields are rejected. Does not run Fix.","title":"Update PixelAid fix settings","inputSchema":{"type":"object","properties":{"settings":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"assetType":{"type":"string","enum":["sprite","spriteSheet","animationSheet","characterSheet","tileset","tilemap","portrait","icon","iconSet","uiElement","background"]},"targetWidth":{"type":"integer","minimum":1,"maximum":4096},"targetHeight":{"type":"integer","minimum":1,"maximum":4096},"maxColors":{"type":"integer","minimum":2,"maximum":256},"gridStrategy":{"type":"string","enum":["classic","robust"]},"robustSafety":{"type":"string","enum":["guarded","warn","off"]},"gridDetect":{"type":"string","enum":["auto","manual"]},"gridScaleX":{"type":"number","minimum":0.01,"maximum":4096},"gridScaleY":{"type":"number","minimum":0.01,"maximum":4096},"gridPhaseX":{"type":"number","minimum":-4096,"maximum":4096},"gridPhaseY":{"type":"number","minimum":-4096,"maximum":4096},"downscale":{"type":"string","enum":["dominant","detailPreserving","median","adaptive","averageThenPalette"]},"alpha":{"type":"string","enum":["preserve","binary","backgroundFloodFill","colorKey"]},"removeOrphans":{"type":"boolean"},"jaggyCleanup":{"type":"boolean"},"preserveSinglePixelDetails":{"type":"boolean"},"removeHalos":{"type":"boolean"}}}},"required":["settings"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"run_fix","kind":"act","impl":"imperative","description":"Run PixelAid's existing worker-backed Fix action for the selected asset and wait until the fixed result is committed to the live editor.","title":"Run PixelAid Fix","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"fix_with_settings","kind":"act","impl":"imperative","description":"Optionally update PixelAid's current fix settings and then run the normal worker-backed Fix in one ordered operation. Use size for a square native and final output, or targetWidth and targetHeight for independent dimensions; dimensions also synchronize the final output canvas, while omitted settings keep their current values.","title":"Fix in PixelAid with optional settings","inputSchema":{"type":"object","properties":{"size":{"type":"integer","minimum":1,"maximum":4096,"description":"Square native and final output shorthand. Cannot be combined with targetWidth or targetHeight."},"assetType":{"type":"string","enum":["sprite","spriteSheet","animationSheet","characterSheet","tileset","tilemap","portrait","icon","iconSet","uiElement","background"]},"targetWidth":{"type":"integer","minimum":1,"maximum":4096},"targetHeight":{"type":"integer","minimum":1,"maximum":4096},"maxColors":{"type":"integer","minimum":2,"maximum":256},"gridStrategy":{"type":"string","enum":["classic","robust"]},"robustSafety":{"type":"string","enum":["guarded","warn","off"]},"gridDetect":{"type":"string","enum":["auto","manual"]},"gridScaleX":{"type":"number","minimum":0.01,"maximum":4096},"gridScaleY":{"type":"number","minimum":0.01,"maximum":4096},"gridPhaseX":{"type":"number","minimum":-4096,"maximum":4096},"gridPhaseY":{"type":"number","minimum":-4096,"maximum":4096},"downscale":{"type":"string","enum":["dominant","detailPreserving","median","adaptive","averageThenPalette"]},"alpha":{"type":"string","enum":["preserve","binary","backgroundFloodFill","colorKey"]},"removeOrphans":{"type":"boolean"},"jaggyCleanup":{"type":"boolean"},"preserveSinglePixelDetails":{"type":"boolean"},"removeHalos":{"type":"boolean"}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_view_mode","kind":"act","impl":"imperative","description":"Change only PixelAid's visual presentation. Show the input, output, an input/output comparison, or the timeline. Compare mode can use a slider or side-by-side layout and an optional slider position.","title":"Set PixelAid view mode","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["input","output","compare","timeline"]},"compareLayout":{"type":"string","enum":["slider","side_by_side"]},"compareSplitPercent":{"type":"number","minimum":5,"maximum":95}},"required":["mode"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"adjust_viewport","kind":"act","impl":"imperative","description":"Change only the main canvas camera. Set an absolute zoom, make a relative zoom change, focus a named image region, or reset to the fitted centered view. Does not read or change image pixels.","title":"Adjust PixelAid viewport","inputSchema":{"type":"object","properties":{"zoomPercent":{"type":"number","minimum":5,"maximum":3200},"zoomChangePercent":{"type":"number","minimum":-95,"maximum":3100},"focus":{"type":"string","enum":["center","top","bottom","left","right","top_left","top_right","bottom_left","bottom_right"]},"reset":{"type":"boolean"}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"configure_export","kind":"act","impl":"imperative","description":"Update the current PixelAid export bundle name, engine targets, or sheet-frame normalization setting. Does not download the bundle.","title":"Configure PixelAid export","inputSchema":{"type":"object","properties":{"bundleName":{"type":"string","minLength":1,"maxLength":160},"targets":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["godot","unity","phaser","texturepacker","tiled","ldtk"]}},"normalizeTimelineFrames":{"type":"boolean"}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"export_bundle","kind":"act","impl":"imperative","description":"Build and validate the selected asset's current engine-ready ZIP bundle, then initiate PixelAid's normal browser download. Returns metadata, warnings, and validation without raw file bytes.","title":"Export PixelAid bundle","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Media & Personal","favicon":"/favicons/pixelaid.oscarsanchez.com.png","apiSurface":"spec","toolCount":10}}