Get portfolio hedge cost
get_portfolio_hedge_costWhen to use: the caller wants the cost of protecting this portfolio with puts, or how expensive that hedge is relative to the book.
Inputs: portfolio_id from list_portfolios. The caller's token is the owner scope. Do not pass a user id or a symbol list. The route reads that portfolio's holdings.
What comes back: the route JSON, unchanged. It prices a one-month put 5 percent out of the money on each holding, plus an index put sized to the book. Costs are in the portfolio currency. A holding with no listed put is named in missing and is not a zero cost. A portfolio the token does not own is the same not-found answer as a missing id.
Args:
portfolio_id: The portfolio UUID from list_portfolios
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": {
"portfolio_id": "<portfolio_id>"
},
"name": "get_portfolio_hedge_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | No | Strategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy. | |
| portfolio_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |