get_top
Retrieve top ETFs, mutual funds, companies, growth companies, or performing companies in a specific sector using input parameters like sector type and number of results.
Instructions
Get top entities (ETFs, mutual funds, companies, growth companies, or performing companies) in a sector.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
sector | Yes | The sector to get | |
top_n | No | Number of top entities to retrieve (limit the results) | |
top_type | Yes | Type of top companies to retrieve |
Input Schema (JSON Schema)
{
"properties": {
"sector": {
"description": "The sector to get",
"enum": [
"basic-materials",
"communication-services",
"consumer-cyclical",
"consumer-defensive",
"energy",
"financial-services",
"healthcare",
"industrials",
"real-estate",
"technology",
"utilities"
],
"title": "Sector",
"type": "string"
},
"top_n": {
"default": 10,
"description": "Number of top entities to retrieve (limit the results)",
"title": "Top N",
"type": "integer"
},
"top_type": {
"description": "Type of top companies to retrieve",
"enum": [
"top_etfs",
"top_mutual_funds",
"top_companies",
"top_growth_companies",
"top_performing_companies"
],
"title": "Top Type",
"type": "string"
}
},
"required": [
"sector",
"top_type"
],
"title": "get_topArguments",
"type": "object"
}