lookup_nft
Resolve NFT metadata for a contract and tokenId to retrieve name, description, image URL, IPFS gateway link, and raw JSON for ERC-721 and ERC-1155 tokens.
Instructions
Resolve NFT metadata for a contract + tokenId: name, description, image HTTP URL, IPFS gateway link, and raw metadata JSON. Supports ERC-721 and ERC-1155. Read-only.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenId": "1",
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"
},
"name": "lookup_nft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | Decimal token id | |
| contract | Yes | Contract address (0x + 40 hex) |