MCP
Tool detail
A tool description, its arguments, and the action in one place.
Search the catalog
Read-only hintFind projects in your workspace.
Installation
Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/tool-detail.jsonAPI
| 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 & compatibility
Each tool uses its own input schema. The schema can be inspected without executing the tool.
Accessibility
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 fully keyboard operable.