How do you design a good agent action?
Your confidence:Not rated
Model answer
- Single purpose and specific (not "update any record").
- Name and description state when to use it and when not.
- Typed inputs with descriptions; derive sensitive IDs from verified variables.
- Outputs with status, IDs and a customer-ready message.
- Confirm before irreversible operations.
- Idempotent with keys; safe retries.
- Errors returned gracefully with hand-off option.
- Built with Flow for most, Apex for complex logic and callouts.
โ Key points to hit
โ Red-flag answers
- Generic CRUD actions
- Accepting record IDs from user text
โช Follow-ups
Why do descriptions matter so much?
The reasoning engine selects actions from their names and descriptions.
How many actions per subagent?
As few as needed; too many cause wrong choices โ verify current limits.