Activity (Process)

Executing Tool Calls and Integrating Results in LLMs

When a Large Language Model generates a specific string formatted as a tool call, it triggers an execution process. The model runs the designated tool, such as a web search, with the provided query. The output from this tool then replaces the original tool call string in the model's context. This newly inserted information is used by the LLM in subsequent prediction steps to formulate a correct and contextually aware answer.

0

1

Updated 2026-04-30

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences