종목 검색 (이름→코드)
search_stockFind a Korean stock code by entering a partial company name (e.g., '삼성전자') or 6-digit code, including ETFs/ETNs. Flags trading suspensions and caution statuses. First search downloads the master list, then caches for 12 hours.
Instructions
종목명(부분 일치)이나 6자리 코드로 코스피/코스닥 상장 종목(ETF/ETN 포함)을 검색해 종목코드를 찾습니다 (키움 ka10099). 다른 tool에 넘길 종목코드를 모를 때 먼저 사용하세요. 거래정지·관리종목·투자경고 같은 투자유의 상태는 비고 컬럼에 표시됩니다. 첫 호출은 종목 마스터를 내려받아 몇 초 걸리고, 이후 12시간 동안 캐시됩니다.
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_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 종목명 일부(예: '삼성전자', 'KODEX 미국') 또는 6자리 종목코드 |