Identify a card from a photo
ptcg_identify_card_from_imageRecognize a Pokémon card from a photograph and return ranked candidates. Use when visual identification cannot name a printing, because reprints share artwork.
Instructions
Recognise a Pokemon card from a photograph and return ranked candidates. Use this instead of guessing from what you see in an image: reprints share their artwork, so visual identification alone cannot name a printing, and this tool says so when it cannot. Costs 25 credits per call against 1 for a lookup — do not call it in a loop. Pass set or region when the user has told you either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Set code to restrict to, e.g. "sv3". Resolves reprint ties. | |
| top_k | No | Candidates to return. Default 3. | |
| region | No | Print region to restrict to. | |
| image_base64 | Yes | The photograph, base64-encoded. A data: URL prefix is accepted and stripped. |