open_credit_line
Open a collateralized credit line for an agent: convert pay-as-you-go to managed credit by signing a borrow intent against USDC already in the agent's wallet.
Instructions
Upgrade a pay-as-you-go agent to a managed credit line: the server signs a borrow intent collateralized from the agent's wallet (which must already hold the deposit — see get_funding_instructions). Check get_credit_line_bounds first for valid deposit/LTV ranges. Requires a developer key (floe_live_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Numeric agent id. | |
| deposit_raw | Yes | Collateral deposit in raw USDC units (6 decimals), positive. | |
| max_ltv_bps | No | Optional max LTV in bps. Omit for the server default. | |
| max_rate_bps | No | Optional max annual rate in bps. Omit for the server default. |