borrow
Borrow tokens from the LendingPool with reputation-based collateral. Auto-selects the USDC pool. Requires api_key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to borrow | |
| api_key | Yes | Your api_key from register_agent | |
| urgency | No | Urgency level 1-10 (adds interest premium) | |
| agent_id | Yes | UUID of the borrowing agent | |
| collateral_token | Yes | Token symbol for collateral: WMATIC or WETH | |
| collateral_amount | Yes | Amount of collateral to deposit |