searchStock
Search for stock information by code or partial name, returning daily prices, P/E ratios, or monthly data.
Instructions
Search for specific stock information by code or name
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": {
"query": "<query>"
},
"name": "searchStock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Stock code (e.g., 2330) or partial name to search | |
| dataType | No | Type of data to retrieve | daily |