Agents / MCP
Tool detail
A tool description, its arguments, and the action in one place.
Registry
Search the catalog
Read-only hintFind projects in your workspace.
Installation
Add the registry entry to your app.
npx shadcn@latest add @fabrials/tool-detailWithout the named registry, use the address:
https://ui.fabrials.com/r/tool-detail.json
API reference
| Prop / export | Type | Description |
|---|---|---|
tool | ToolDefinition | Tool metadata and input schema. |
onRun | (args) => Promise<unknown> | Validated execution callback. |
disabled | boolean | Whether execution is available. |
Behavior
Each tool uses its own input schema. The schema can be inspected without executing the tool.
Accessibility
Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.