lookup_nft
Resolve NFT metadata for a contract + tokenId: name, description, image HTTP URL, IPFS gateway link, and raw metadata JSON. Supports ERC-721 tokenURI and ERC-1155 uri. Use when the user asks for NFT metadata, token image, or to parse IPFS NFT JSON. tokenId must be a decimal string (or integer). Read-only lookup with no side effects. Example: lookup_nft {"contract":"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D","tokenId":"1"} returns the Bored Ape #1 metadata with an erc721 standard marker and imageHttp URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | Token ID as decimal string or non-negative integer | |
| contract | Yes | NFT contract address (0x-prefixed, 40 hex chars) |