factor_get_lending_tokens
Retrieves aTokens, debt tokens, and underlying asset details for a lending protocol, so you know which assets a Factor vault requires before supplying to Aave, Compound V3, or Morpho.
Instructions
Get lending token information from the tokenlist for a specific protocol. Returns aTokens, debt tokens, and underlying asset info needed to set up a vault for lending. Use this BEFORE supplying to a lending protocol to know which tokens (assets/debts) the vault needs.
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>"
},
"name": "factor_get_lending_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | The lending protocol to look up tokens for | |
| underlyingAsset | No | Optional: underlying token address (e.g., USDC) to filter results. If omitted, returns all tokens for the protocol. |