tool-log-compact — one-line entries with expand-on-click for full detailtool-log-verbose — each entry shows full input and output inlinetool-log-filtered — shows only specific tool types (e.g., write operations only)role="log" with aria-label — new entries appended to the log must be announced by screen readers<span> with monospace styling — do not use <code> blocks inside interactive lists<button> with aria-expanded stateWrite operations — file writes, API calls that modify state, database updates — must be visually distinguished from read operations. Reads are informational. Writes are consequential. The distinction must be visible at a glance.
Override these CSS custom properties to apply your own visual treatment without touching the component's behavioral contracts.
| Token | Controls |
|---|---|
--rad-surface-card |
Component card background |
--rad-border-subtle |
Card border |
--rad-color-text-secondary |
Tool input text |
--rad-color-text-meta |
Result and time metadata |
--rad-color-approve |
Focus ring |
--rad-color-reject |
Error color fallback |
--rad-radius-card |
Card border radius |
| Token | Controls |
|---|---|
--rad-tool-log-entry-border |
Row separator line |
--rad-tool-log-active-bg |
Active entry row background |
--rad-tool-log-error-bg |
Error entry row background |
--rad-tool-log-error-color |
Error result text color |
--rad-tool-log-name-color |
Tool name text color |
--rad-tool-log-pending-color |
Running result text color |
"*Every tool call is a decision the agent made on your behalf. Log them all — the ones that worked and the ones that didn't.*"
RAD is the original work of Jackie Curry. All rights reserved. No portion may be reproduced, adapted, or incorporated into any product or system without express written permission.
Permitted: citation in academic or editorial contexts with full attribution.
© 2025 Jackie Curry. All rights reserved. Publication date: 2025.
For licensing inquiries, connect on LinkedIn →