Tool Calling
도구 호출
도구 호출은 모델이 지정된 형식으로 외부 도구를 요청할 수 있게 합니다. 요청에는 인수가 포함됩니다. 호스트 앱은 실행 여부와 방법을 결정합니다.
다른 예시
여행사는 사용자가 검색을 허용한 후 선택한 날짜에 TPE로 가는 여행의 get_flights를 요청합니다. 호스트는 권한과 인수를 확인하고, 도구를 실행한 후 소스를 반환합니다. 모델 요청은 실행 증거나 실제 세계에서의 부작용에 대한 허가가 아닙니다.
주요 부분
- 01도구 정의
- 02구조화된 인수
- 03호스트 인증 및 결과
사용할 때
AI가 호스트가 점검하고 승인하는 외부 데이터나 작업에 구조화된 접근이 필요할 때 이 용어를 사용하세요.
다음 경우에는 사용하지 마세요
적절한 보호 장치 없이 강력한 도구를 제공하지 마십시오. 최소 권한, 인수 확인, 필요한 확인, 안전한 재시도 및 위험에 맞는 감사 기록을 사용하십시오.
코드에서 사용된 이름
model request → host validation → tool result 출시하기 전에
Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback.
Outcome:Complete the task with 도구 호출 (Tool Calling)。 User context:여행사는 사용자가 검색을 허용한 후 선택한 날짜에 TPE로 가는 여행의 get_flights를 요청합니다. 호스트는 권한과 인수를 확인하고, 도구를 실행한 후 소스를 반환합니다. 모델 요청은 실행 증거나 실제 세계에서의 부작용에 대한 허가가 아닙니다. AI method or concept:도구 호출 (Tool Calling)。 Why it fits:AI가 호스트가 점검하고 승인하는 외부 데이터나 작업에 구조화된 접근이 필요할 때 이 용어를 사용하세요. Do not use it when:적절한 보호 장치 없이 강력한 도구를 제공하지 마십시오. 최소 권한, 인수 확인, 필요한 확인, 안전한 재시도 및 위험에 맞는 감사 기록을 사용하십시오. AI requirements: Define the input and source evidence. Set model and tool permissions. Use versioned evaluation data and measures. Define failure, decline-to-answer, privacy, speed, and cost limits. Operational safeguards: Keep a clear trace and hide sensitive log data. Show users a safe fallback. Mark steps that need human review. Define how to roll back the model or prompt. Acceptance criteria: Record baseline and target measures on a versioned evaluation set. Test edge cases and hostile inputs. Verify fallback, monitoring, permissions, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Target task, model and version, evaluation owner, source data, risk limit, tool permissions, and production fallback.
이 요청을 확인하세요
Review how 도구 호출 (Tool Calling) is used now. Definition: 도구 호출은 모델이 지정된 형식으로 외부 도구를 요청할 수 있게 합니다. 요청에는 인수가 포함됩니다. 호스트 앱은 실행 여부와 방법을 결정합니다. Release checks: Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.