Celina/Tools/Contract/call-contract-function
readContractHosted · Stdio

Call Contract Function

call_contract_function

Make a read-only call to any Celo mainnet contract using a caller-supplied ABI fragment. No wallet required; does not broadcast.

§ Inputs

NameTypeDescription
contract_addressRequiredstringcontract address
function_nameRequiredstringfunction name
abiRequiredarrayContract ABI as a JSON array
function_argsarrayfunction args
from_addressstringWallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer.

§ Returns

Decoded function return value(s).

§ Try saying

  • Call totalSupply() on contract 0x…

Use this tool

Once Celina is wired into your MCP client, just ask in plain language. The LLM picks call_contract_function automatically.