get_portfolio_state
Retrieve live portfolio NAV, holdings, and band weights using read-only exchange credentials. Optionally analyze allocation against a target percentage.
Instructions
Live portfolio NAV, holdings[], and band weights from read-only exchange credentials passed in the request. Optional target_pct attaches allocation_analysis. Credentials are never stored. Supports kraken and coinbase.
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": {
"exchange": "<exchange>",
"api_key": "<api_key>",
"api_secret": "<api_secret>"
},
"name": "get_portfolio_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | Yes | ||
| api_key | Yes | ||
| api_secret | Yes | ||
| target_pct | No | ||
| band | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||