get_stock_data_by_name
Retrieve detailed stock information for Indian companies by entering the company name. Access current prices, historical data, and market statistics from NSE and BSE exchanges.
Instructions
$23a
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Example value: tata steel |
Implementation Reference
- server.py:56-61 (handler)The "get_stock_data_by_name" tool is automatically generated by FastMCP.from_openapi from the OpenAPI specification defined in the OPENAPI_SPEC constant.
mcp = FastMCP.from_openapi( openapi_spec=openapi_dict, client=client, name="indian_stock_exchange_api2", version=__version__ )