Skip to content
Agents / MCP

Tool detail

A tool description, its arguments, and the action in one place.

Registry
Loading state

Search the catalog

Read-only hint

Find projects in your workspace.

A name or keyword.

Installation

  1. Add the registry entry to your app.

    npx shadcn@latest add @fabrials/tool-detail

    Without the named registry, use the address: https://ui.fabrials.com/r/tool-detail.json

API reference

Prop / exportTypeDescription
toolToolDefinitionTool metadata and input schema.
onRun(args) => Promise<unknown>Validated execution callback.
disabledbooleanWhether 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.