get_etf_sector_allocation
Retrieve sector allocation percentages for an ETF or fund from Yahoo, ordered largest first, to analyze portfolio sector exposure; for European UCITS ETFs, use exposure by ISIN instead.
Instructions
Sector allocation (% by sector) of an ETF or fund, from Yahoo.
Yahoo coverage of European UCITS ETFs is patchy: for those, prefer
get_etf_exposure (justETF, by ISIN).
Args:
ticker: Yahoo symbol of the fund, e.g. "SPY", "IWDA.AS".
Returns:
`sector_allocation_pct` by sector, largest first; or an error dict.
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": {
"ticker": "<ticker>"
},
"name": "get_etf_sector_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes |