Tool CallsNew
The tools an agent used in one reply, folded to "Used 4 tools · 3.2s" and opening to each call's arguments and result.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- ToolCallsBlock
- Inside
- Summary row, A row per call, Arguments and results, Failed calls with Retry
- Install, with a Pro license
- npx swiftpieces add ToolCallsBlock
- Depends on
- Pro's Design System, which installs with it
A small, inline record for the top of an assistant message. Folded it is one quiet row; opened, each call shows its symbol, name, argument summary and duration or status, and opens to its arguments and result as key and value pairs or monospaced JSON with Copy. It opens itself while calls run and folds once they finish.
Its SwiftUI source comes with SwiftPieces Pro: Tool Calls in the Pro library.