get_oz_contract
Retrieve detailed API documentation for OpenZeppelin smart contracts, including functions, events, and usage guides for both v4.x and v5.x versions.
Instructions
Get detailed API reference for a specific OpenZeppelin contract or library
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": {
"name": "<name>"
},
"name": "get_oz_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Contract or library name (e.g., 'ERC20', 'Ownable', 'ECDSA', 'SafeERC20') | |
| version | No | OpenZeppelin Contracts version | 5.x |