Presenting Tool Actions to Users
In this article
- Turn raw tool events from an agent run into a timeline a user can read, one row per action with its purpose, target, key values and status.
- Take each status from the tool's result, so a failed action never reads as completed.
- Spot a write that shows no target and explain why it is a defect, not a display detail.
- Decide which values to mask and which to keep, and link a finished write to its receipt.
Overview
A customer asks support why they got two emails about one refund. The support lead opens the agent's run and sees a list of tool names, curly braces and long ids. Somewhere in there is the answer: what the agent did, to whom, with what amount, and whether each step worked. The lead cannot find it, and neither could the customer.
Here you turn that raw record into a short action timeline a person can audit at a glance. You will build each row from four facts (what the action was for, what it touched, the values that matter, and whether it worked), take the status from the tool's own result, catch a write that hides its target, and mask a card number without hiding the amount.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- What the run records
- Four questions per action
- Status comes from the result
- A write with no target
- Masking without hiding
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions