factor_lend_supply
Supply or deposit vault assets into Aave, Compound V3, Morpho, or Silo V2 lending markets through a Factor vault, using all or a percentage of the balance; for Morpho, optionally supply as collateral.
Instructions
Supply/deposit assets to a lending protocol (Aave, Compound V3, Morpho, or Silo V2) through a Factor vault. Use amount "all" to supply the entire vault balance of the asset. For Morpho, set collateral=true to supply as collateral instead of lending.
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": {
"vaultAddress": "<vaultAddress>",
"protocol": "<protocol>",
"amount": "<amount>"
},
"name": "factor_lend_supply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in base units (wei), or "all" to supply the entire vault balance, or a percentage like "50%" to supply that percentage of the balance | |
| marketId | No | Morpho market ID (required for morpho) | |
| password | No | Wallet password if encrypted | |
| protocol | Yes | The lending protocol to use | |
| collateral | No | For Morpho: supply as collateral instead of lending. Default: false | |
| assetAddress | No | Token address to supply (required for aave, compoundV3, siloV2) | |
| vaultAddress | Yes | The vault contract address | |
| marketAddress | No | Market address (required for compoundV3 and siloV2) |