Agentforce Tool Use Patterns

Pick the right tool shape for each agent action: Apex invocable vs Flow action vs External Service vs Prompt Template vs Data Cloud retrieval. Covers action selection by use case, argument design for LLM clarity, return-shape contracts, error-surfacing, cost implications, and when to chain tools vs keep a single action. NOT for designing or reviewing an action whose shape is already settled — naming, confirmation, error behavior — use agentforce/agent-actions. NOT for writing the Apex class itself — use agentforce/custom-agent-actions-apex.

PranavNagrecha Updated 26 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills commit a65e93edb0

Frequently asked questions

npx get-skill add pranavnagrecha/agentforce-tool-use-patterns