ygo_render_deck_image
Render a built or edited Yu-Gi-Oh! deck as a PNG in Konami Neuron/tournament layout, sorting Main, Extra, and Side while flagging banned cards.
Instructions
USE THIS after building or editing a deck when the user wants to see it. Render the deck (Main, Extra, Side) as a PNG in Konami Neuron / tournament decklist layout: 10 cards per row, Monster -> Spell -> Trap, banned cards flagged. The picture is attached to this tool's result as an image block and the absolute outputPath is returned — present it to the user and, if the host has a file-preview or open-file capability, open that path in a tab. Do not describe the image from memory; the rendered file is the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Heading language: 'jp' or 'en' | jp |
| input | Yes | Raw .ydk text, path to a .ydk file, a ydke:// link, or a line-by-line card list | |
| title | No | Deck title shown on the banner | |
| outputPath | No | Optional output path for the PNG |