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 a65e93e 7 files · 30.1 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/agentforce/agentforce-tool-use-patterns commit a65e93edb0

Frequently asked questions

npx skillmds add pranavnagrecha/agentforce-tool-use-patterns