generate_code
Generates Python code for Meritz Open API: REST token, request, response checks; realtime WebSocket subscriptions; order/exchange safety confirm. api_type='token' creates token-only code.
Instructions
api_type 을 호출하는 Python 코드를 만듭니다. REST 는 토큰 발급·요청·응답 판정까지, 실시간은 웹소켓 구독 코드를 만듭니다. 주문·환전은 confirm=True 전까지 전송하지 않는 안전장치가 들어갑니다. api_type='token' 이면 토큰 발급 코드만 만듭니다.
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": {
"api_type": "<api_type>"
},
"name": "generate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_type | Yes | 코드를 만들 API 의 api_type. search_api 나 get_api_detail 에서 확인한 값을 넣습니다. 'token' 이면 접근토큰 발급 코드만 만듭니다. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||