chat_leader
[KEY REQUIRED · 1 credit] 특정 리더와 1:1로 대화합니다. get_leaders에서 얻은 leader_id(예: 'L01', 'L32', 'CCO')를 넘기세요. 1회당 1크레딧이 차감됩니다(ask 와 같은 선예약 — 답변이 실패하면 환불). / Chat 1:1 with a specific legal leader. Provide the leader_id (e.g. 'L01', 'L32', 'CCO') from get_leaders. Each call costs 1 credit, reserved up front like ask and refunded if no answer is delivered. 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 | Deprecated (2026-09-27): leader chat now costs 1 credit per call with no separate free allowance, so no confirmation step is needed. Accepted and ignored for backward compatibility. | |
| 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. | |
| idempotency_key | No | 선택. 재시도 안전 키(8~64자, 영숫자·_-.). 30초 안에 안 끝나면 'pending'과 키를 돌려줍니다 — 같은 키로 다시 부르면 진행 중이거나 방금 끝난 답을 **새로 과금하지 않고** 받습니다. / Optional retry-safe key. If the chat takes longer than ~30s you get `pending` with a key; call again with the same key to collect the reply without a second charge. |