chat_leader
[KEY REQUIRED · charged — see get_pricing] 특정 리더와 1:1로 대화합니다. get_leaders에서 얻은 leader_id(예: 'L01', 'L32', 'CCO')를 넘기세요. 하루 무료 5회를 넘기면 추가 이용에 크레딧이 듭니다 — 그때는 비용을 알려 주는 응답이 오고, confirm: true 로 다시 부를 때만 차감합니다(기본값 false, 확인 없이는 절대 차감하지 않습니다). / Chat 1:1 with a specific legal leader. Provide the leader_id (e.g. 'L01', 'L32', 'CCO') from get_leaders. Past the free daily allowance the call returns the exact cost; credits are spent only when you retry with confirm: true (default false). Pass history when continuing a conversation — otherwise the leader asks the same follow-up questions again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Question to ask the leader (max 2000 chars). | |
| confirm | No | Spend credits when the free daily allowance is used up. Default false — nothing is ever charged without this. Only set it after a call returned status 'payment_required' telling you the cost. | |
| history | No | 이전 대화. 이것을 안 보내면 서버는 매 호출을 **첫 대화**로 보고 같은 것을 또 되묻습니다 — 리더가 물어본 뒤 답을 줄 때는 그 두 턴을 반드시 함께 넘기세요. 최근 20턴까지 반영됩니다. / Prior turns. Without this the server treats every call as a fresh conversation and asks the same questions again — when you answer a leader's follow-up, send those turns here. Up to 20 recent turns are used. | |
| leader_id | Yes | Leader identifier (e.g. 'L01'). See get_leaders. | |
| client_tag | No | 선택. client_tag: 호출자 식별용, **응답에 영향 없음**(8~64자, 영숫자·_-.). 서버 로그에만 남아 호출을 골라 세는 데 씁니다. 형식이 어긋나면 무시합니다 — 거절하지 않습니다. 질의 본문에 섞지 마세요: 본문에 넣으면 질문의 일부가 되어 분류와 검증 결과가 달라집니다. / Optional caller label (8-64 chars). Logged only; never affects the response. Invalid values are ignored, not rejected. Do not put it in the query text — there it becomes part of the question. |