Tool Use — Penggunaan Alat

Kemampuan LLM/agent untuk **memanggil fungsi eksternal** (search, code execution, API, browser, database) untuk menyelesaikan tugas di luar knowledge cutoff-nya.

Tool use = function calling + ReAct + planning. Format: JSON schema. Anthropic, OpenAI, Google support native. Implementasi: LangChain Tools, OpenAI Function Calling, MCP (Model Context Protocol).

Also known as: pemanggilan fungsi, function calling
Print

Tool Use

Definisi

Tool use (function calling) adalah kemampuan model AI untuk memanggil fungsi eksternal — search engine, code interpreter, database, API, browser, file system, dll — untuk menyelesaikan tugas.

Format

Model menghasilkan output terstruktur (JSON) yang menunjukkan tool mana yang dipanggil dan dengan argumen apa:

{
  "name": "search",
  "arguments": {"query": "cuaca Jakarta besok"}
}

Standar

  • OpenAI Function Calling (2023)
  • Anthropic Tool Use (2024)
  • Google Gemini Function Calling
  • MCP (Model Context Protocol, Anthropic 2024) — standar terbuka

Connected to

Not yet written

The following pages are referenced but don't exist yet — they'd make good future additions.

  • /concepts/agentic-ai

References

  1. Wikipedia

Type at least 2 characters to search.

Press to navigate, to open, esc to close.