Get portfolio fund overlap
get_portfolio_fund_overlapWhen to use: the caller wants to know whether the funds in this portfolio hold the same names, so the book is less diversified than the fund count suggests.
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 looks through the funds on that portfolio.
What comes back: the route JSON, unchanged. pairs names two funds and overlap_weight, the share of the left fund that is also in the right fund, by weight. shared names a holding counted once, with its portfolio weight. A fund with no holdings file is named in missing and is not a zero overlap. 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_fund_overlap"
}
}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 |