Tool Call
A tool-call card with args summary, status and duration, expandable tinted JSON for arguments and result with copy, an approval gate with Approve and Deny, and numbered groups.
Preview
Ran 4 tools3.9s
- Arguments
{ "query": "refund delayed", "since": "2026-10-01", "limit": 20 }Result{ "total": 37, "oldest": "T-4790", "median_wait_hours": 31.5, "truncated": true } - Arguments
{ "to": "malik@pebble.example", "subject": "37 delayed refunds since October", "attach_report": true }Sends an email to Malik on your behalf.
Single calls
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | — | Tool name, shown in mono. |
| icon | ReactNode | wrench | 16 px icon in the header tile. |
| args / result | unknown | — | Shown as tinted JSON with a copy button; strings show as-is. |
| summary | string | from args | One line after the name; defaults to the first two arguments. |
| status | "pending" | "running" | "success" | "error" | "approval" | "success" | Queued, running spinner, done, failed or needs approval. |
| duration | string | — | Preformatted time in the status pill. |
| error | string | — | Error message, shown as an alert in the body. |
| open / defaultOpen | boolean | approval: open | Body state; onOpenChange reports changes. |
| onApprove / onDeny | () => void | — | Approval buttons; Escape denies and Enter approves inside the panel. |
| approvalReason | string | — | Why the call needs a person. |
| title / meta | string | — | ToolCallGroup: heading and total time over numbered sequential calls. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
