Get sector or industry
get_sector_industryRetrieve sector or industry overviews, leading companies, top ETFs/funds, and industry performers or growth companies for market research.
Instructions
Who leads a sector or industry: overview, top companies, top ETFs and funds.
Sectors also list their industries; industries add top performers (YTD return, target price) and top growth companies.
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": {
"kind": "<kind>",
"key": "<key>"
},
"name": "get_sector_industry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Sector key (basic-materials, communication-services, consumer-cyclical, consumer-defensive, energy, financial-services, healthcare, industrials, real-estate, technology, utilities) or an industry key such as 'semiconductors' (listed in a sector's `industries`). | |
| kind | Yes | 'sector' or 'industry'. | |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| kind | Yes | 'sector' or 'industry'. | |
| name | No | ||
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| source | No | Data source and the yfinance version. | |
| overview | Yes | Company count, market cap, market weight, description... | |
| top_etfs | No | ||
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| truncated | No | True when rows were left out to keep the response small. | |
| industries | No | A sector's industries; pass a key back as an industry. | |
| sector_key | No | Parent sector, for an industry. | |
| next_offset | No | Pass as `offset` to fetch the next rows, when the result is truncated. | |
| sector_name | No | ||
| top_companies | No | ||
| top_mutual_funds | No | ||
| top_growth_companies | No | ||
| top_performing_companies | No |