Search Taiwan securities
search_securityFind Taiwan-listed securities by code or name, converting a company name or partial code into a usable security code for other tools.
Instructions
Find Taiwan-listed securities (TWSE 上市 = "tse", TPEx 上櫃 = "otc") by code or name. Use this to turn a company name such as "台積電" or a partial code such as "233" into a security code before calling other tools. Matches code or Traditional Chinese name; exact matches rank first, then prefix, then substring, with stocks before ETFs. By default searches stock, etf, preferred, etn, other; warrants and convertible bonds (95% of all listings) are excluded unless requested via types.
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": "search_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 10). | |
| query | Yes | Code or name fragment, e.g. "2330", "台積", "元大". | |
| types | No | Security types to include. Default: ["stock","etf","preferred","etn","other"]. Add "warrant" or "convertible_bond" to search those. | |
| market | No | Restrict to one market. Omit to search both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| results | Yes | ||
| truncated | Yes | True when more matches exist than returned. | |
| total_matches | Yes |