F

Function Calling

The mechanism letting an LLM invoke external tools or APIs with structured parameters to take real-world action.

What it is

Function calling is how a language model translates natural language intent into a structured request — like updating a record or sending an email — that a system can execute. It's the bridge between reasoning and actual doing.

Why it matters

Without reliable function calling, an agent can only chat; with it, an agent can actually close a case or update a Salesforce record, turning conversation into action.

Key components

  • structured parameters
  • tool schema
  • action mapping
  • execution layer

How it connects

Agentforce works the same way: its reasoning engine picks an action from a topic and fills in that action's inputs, which then run as Apex, Flow, or API calls.

Good to know

Tight input validation matters — poorly constrained function calls are a common source of tool misuse and unintended actions.

Need Help Implementing This?

We specialize in putting AI and Agentforce to work for Salesforce customers. Let's talk about your use case.

Book Intro Call