📝AI Agent tool use concept and mechanism
| Dimension | Formatted Tool Call | Freeform Text |
|---|---|---|
| Purpose | Directly execute an external function. | Inform, describe, or generate conversational output. |
| Structure | Strict, machine-parseable (e.g., JSON, function syntax). | Flexible, natural language sentences. |
| Outcome | Triggers a specific external action or API call. | Generates human-readable content. |
| Part of | AI Agents | A core capability for intelligent agents |
| Depends on | Large Language Models | LLMs provide the reasoning engine |
| Made of | Tool Description Language | Defines tools for agent understanding |
| Used in | Automated Workflows | Agents orchestrate tasks using tools |
| Confused with | Plugin Architectures | Tool use is more dynamic function calling |
| Limitation | Trustworthiness | Agents might misuse tools or hallucinate |
| Dimension | Formatted Tool Call | Freeform Text |
|---|---|---|
| Purpose | Directly execute an external function. | Inform, describe, or generate conversational output. |
| Structure | Strict, machine-parseable (e.g., JSON, function syntax). | Flexible, natural language sentences. |
| Outcome | Triggers a specific external action or API call. | Generates human-readable content. |
| Part of | AI Agents | A core capability for intelligent agents |
| Depends on | Large Language Models | LLMs provide the reasoning engine |
| Made of | Tool Description Language | Defines tools for agent understanding |
| Used in | Automated Workflows | Agents orchestrate tasks using tools |
| Confused with | Plugin Architectures | Tool use is more dynamic function calling |
| Limitation | Trustworthiness | Agents might misuse tools or hallucinate |