본문으로 건너뛰기

도구 호출과 함수 호출

모델이 호출할 API를 고르고 인자를 채운다

입력텍스트동작

이 페이지의 본문은 영어로 제공됩니다. 제목과 요약은 한국어로 번역되었습니다.

이 능력이 뜻하는 것

Takes a user request and a list of available tools — names, descriptions, argument schemas — and outputs a structured call such as get_weather with city set to Shanghai. The model executes nothing itself; it selects a tool and assembles arguments, while the actual call is made by external code whose result is fed back for further reasoning.

기술적으로 구현하는 방법

Fine-tuning on many examples of when to call, which tool to use and what arguments look like teaches the model to emit a call when it needs external information or action; at inference the tool definitions go into the prompt and the output is constrained to a valid structure. With many tools, retrieval first narrows the candidates, and a multi-turn loop that feeds results back handles complex tasks.

대표 제품

10

LangChain

LangChain

모델·도구·검색을 연결

3능력
도구 오픈 소스
2022

OpenAI

GPT-4o

네이티브 멀티모달 범용 모델. 텍스트·이미지·오디오를 한 창구에서 다룬다

4능력
모델 클로즈드 소스
텍스트이미지오디오텍스트오디오
2024

Anthropic

Claude

긴 문맥과 안전 정렬로 알려진 범용 대화 모델

4능력
모델 클로즈드 소스
텍스트이미지텍스트
2023

Google DeepMind

Gemini

네이티브 멀티모달에 초장문 문맥을 다루는 범용 모델

4능력
모델 클로즈드 소스
텍스트이미지오디오영상텍스트
2023

Alibaba (Qwen)

Qwen

여러 규모와 멀티모달 버전을 아우르는 오픈웨이트 모델 계열

4능력
모델 공개 가중치
텍스트이미지텍스트
2023

MiniMax

MiniMax-M

하이브리드 어텐션과 백만 토큰 문맥을 갖춘 오픈웨이트 추론 모델

4능력
모델 공개 가중치
텍스트텍스트
2025

Cohere

Command R

검색 증강과 도구 호출을 위해 설계된 상용 모델

4능력
모델 공개 가중치
텍스트텍스트
2024

Mistral AI

Mistral Large

유럽 오픈웨이트 연구소의 플래그십 상용 모델

4능력
모델 클로즈드 소스
텍스트텍스트
2024

Zhipu AI

GLM

자기회귀 빈칸 채우기 사전학습에서 출발한 중국어 범용 모델

4능력
모델 클로즈드 소스
텍스트텍스트
2023

Meta AI (FAIR)

Llama

개방형 가중치 노선을 주류로 만든 범용 모델 계열

4능력
모델 공개 가중치
텍스트텍스트
2023

관련 기관

대표적 용도

  • Fetching live data such as weather, prices or stock
  • Performing business actions such as orders and messages
  • Calling calculators, search and code executors
  • Chaining several APIs for a composite task

성능을 평가하는 방법

Function-selection accuracy
Share of requests where the right tool was chosen
Exact argument match
Share with arguments exactly matching the reference
End-to-end task success
Whether the task completes once tools actually run

경계와 난점

  • Slightly complex argument shapes — nested objects, arrays, optional fields — are easily filled wrongly
  • As the tool list grows, wrong selections rise sharply, and similar-purpose tools are the most confusable
  • Recovery after a failed call is unreliable, and the model often loops on the error instead of adapting

뒤에 있는 개념

AI 엔지니어링·안전·윤리

에이전트와 도구 사용중급

모델이 답만 하지 않고 검색하고 API를 호출하고 코드를 실행하며, 그 결과로 다음 수를 정하게 한다

4연관
도해 1 · 데이터 1

자연어 처리와 대규모 언어 모델

프롬프트 엔지니어링과 정렬고급

모델을 유용하고 정직하며 무해하게 만드는 일은 단순히 더 크게 만드는 것보다 어렵다

4연관
도해 1 · 데이터 1

자연어 처리와 대규모 언어 모델

Transformer 아키텍처중급

한 단어씩 전달하는 대신 모두가 동시에 말하는 회의로 바꾸어, 멀리 떨어진 의존성을 한 번에 연결한다

4연관
도해 2 · 데이터 2