borrow_from_lending
Borrow assets from a lending protocol by providing protocol, asset, amount, and network. Execute the loan on supported EVM chains with stable or variable interest options.
Instructions
Borrow assets from a lending protocol
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": {
"protocol": "<protocol>",
"asset": "<asset>",
"amount": "<amount>",
"privateKey": "<privateKey>"
},
"name": "borrow_from_lending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset address to borrow | |
| amount | Yes | Amount to borrow (in wei) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| protocol | Yes | Lending protocol (e.g., 'Aave V3') | |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. | |
| interestRateMode | No | Interest rate mode | variable |