{"ok":true,"tools":[{"name":"list_networks","title":"List networks","description":"List every network AVENI can read and simulate on, with chain id, native token and explorer.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},{"name":"network_status","title":"Network status","description":"Latest block, gas price and chain id for a network. Use it to check a chain is healthy before acting.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["network"],"additionalProperties":false}},{"name":"get_balance","title":"Native balance","description":"Native coin balance (ETH, POL, BNB, AVAX…) of an address or ENS name on one network.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"address":{"type":"string","minLength":3,"description":"0x address or ENS name (e.g. vitalik.eth)"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["address","network"],"additionalProperties":false}},{"name":"get_token_balance","title":"Token balance","description":"ERC-20 balance of an owner for a given token contract.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"ERC-20 contract address"},"owner":{"type":"string","minLength":3,"description":"0x address or ENS name (e.g. vitalik.eth)"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["token","owner","network"],"additionalProperties":false}},{"name":"get_token_info","title":"Token info","description":"Name, symbol, decimals and total supply of an ERC-20 token.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"ERC-20 contract address"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["token","network"],"additionalProperties":false}},{"name":"scan_address","title":"Scan address","description":"Scan an address on one network, or on every network at once when network is \"all\": native balance, nonce and whether it is a contract.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"address":{"type":"string","minLength":3,"description":"0x address or ENS name (e.g. vitalik.eth)"},"network":{"default":"all","description":"A network name, or \"all\"","type":"string"}},"required":["address","network"],"additionalProperties":false}},{"name":"inspect_tx","title":"Inspect transaction","description":"Decode a transaction: status, sender, recipient, value, fee, method and ERC-20 transfers. If network is \"auto\" every network is searched.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"network":{"default":"auto","type":"string"}},"required":["hash","network"],"additionalProperties":false}},{"name":"get_block","title":"Get block","description":"Details of a block by number, or the latest block.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"},"block":{"default":"latest","description":"Block number or \"latest\"","type":"string"}},"required":["network","block"],"additionalProperties":false}},{"name":"read_contract","title":"Read contract","description":"Call any view/pure function. Pass a human-readable signature like \"function balanceOf(address) view returns (uint256)\" and the args.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"address":{"type":"string","description":"Contract address"},"signature":{"type":"string","description":"e.g. \"function totalSupply() view returns (uint256)\""},"args":{"default":[],"type":"array","items":{}},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["address","signature","args","network"],"additionalProperties":false}},{"name":"simulate_tx","title":"Simulate transaction","description":"Dry-run a transaction against live state without sending it. Returns success or the revert reason, the return data and estimated gas/fee. Provide either raw data or a signature + args.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"from":{"type":"string","minLength":3,"description":"Sender address the simulation runs as"},"to":{"type":"string","description":"Recipient or contract address"},"value":{"default":"0","description":"Native amount in whole units, e.g. \"0.05\"","type":"string"},"data":{"description":"Raw calldata (0x…)","type":"string"},"signature":{"description":"Function signature, used instead of data","type":"string"},"args":{"default":[],"type":"array","items":{}},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["from","to","value","args","network"],"additionalProperties":false}},{"name":"prepare_transfer","title":"Prepare transfer","description":"Build an UNSIGNED transfer of native coin or an ERC-20 token. AVENI holds no keys: hand the result to the user's wallet to review and sign.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"to":{"type":"string","minLength":3,"description":"0x address or ENS name (e.g. vitalik.eth)"},"amount":{"type":"string","description":"Amount in whole units, e.g. \"12.5\""},"token":{"description":"ERC-20 address; omit for the native coin","type":"string"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["to","amount","network"],"additionalProperties":false}},{"name":"prepare_contract_call","title":"Prepare contract call","description":"Encode any state-changing contract call into an UNSIGNED transaction for the user's wallet. Run simulate_tx first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"to":{"type":"string","description":"Contract address"},"signature":{"type":"string","description":"e.g. \"function approve(address,uint256)\""},"args":{"default":[],"type":"array","items":{}},"value":{"default":"0","type":"string"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["to","signature","args","value","network"],"additionalProperties":false}},{"name":"get_token_market","title":"Token market","description":"Live price, 24h change, liquidity, 24h volume, FDV and market cap of a token from its most liquid DEX pool.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"Token contract address"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["token","network"],"additionalProperties":false}},{"name":"check_token_safety","title":"Token safety check","description":"Check an ERC-20 for owner powers: owner and whether it is renounced, mint/pause/blacklist/fee functions in the bytecode, upgradeable proxy, and burned supply. Heuristic: a red flag is a reason to look closer, not proof.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"Token contract address"},"network":{"default":"ethereum","description":"Network: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, linea, scroll, sepolia","type":"string"}},"required":["token","network"],"additionalProperties":false}},{"name":"lookup","title":"Look up anything","description":"Identify whatever is pasted: a token contract (returns price, market cap, liquidity, supply and a safety check on the chain it trades on), another contract, a wallet (balances on every network) or a transaction hash. Use this first when you are not sure what an address is.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":3,"description":"Address, ENS name, token contract or tx hash"},"network":{"description":"Optional: restrict to one network","type":"string"}},"required":["query"],"additionalProperties":false}}]}