open_vault
Opens a vault (CDP) for a specified collateral type. If a vault already exists, returns the existing CDP ID without submitting a transaction.
Instructions
Open a vault/CDP via DSProxy. Idempotent: if a vault for the given ilk already exists, returns the existing CDP id without submitting a transaction.
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": {
"ilk": "<ilk>"
},
"name": "open_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ilk | Yes | Collateral type like TRX-A, WBTC-A, or SA001-A | |
| network | No | Target network. Default: tron |