explain_contract_interface
Analyze any NEAR contract by ID and get a human-readable explanation of its purpose and main functions. Understand what the contract does before interacting.
Instructions
Analyzes a contract and provides a human-readable explanation of its purpose and main functions
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract_id": "<contract_id>"
},
"name": "explain_contract_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | NEAR network to query (default: mainnet) | |
| contract_id | Yes | The NEAR account ID of the contract |