get_deposit_detail
Retrieve detailed deposit information including available funds, margin requirements, and unsecured amounts for Kiwoom Securities accounts to manage trading capital effectively.
Instructions
예수금, 증거금, 미수확보금 등 예수금 상세를 조회합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_no | No | 계좌번호 (미입력시 기본 계좌 사용) |
Implementation Reference
- src/index.ts:546-560 (handler)The get_deposit_detail tool is defined and registered using server.tool. It uses the client.getDeposit method to fetch the data and formats the output using formatDeposit.
server.tool( "get_deposit_detail", "예수금, 증거금, 미수확보금 등 예수금 상세를 조회합니다", { account_no: accountNoSchema }, { readOnlyHint: true }, async ({ account_no }) => { try { const acct = resolveAccountNo(account_no); const data = await client.getDeposit(acct); return textContent(formatDeposit(data)); } catch (error) { return errorContent(formatError(error)); } } );