Skip to content

2 variants

Tool Call

What an agent does with its tools. A card for each call with a live timer and its input and output, and a permission prompt before anything that matters runs.

Tool call

One tool call with a status mark, a timer that counts while it runs, and the input and output folded underneath.

Input
{
  "query": "next.js 16 caching changes"
}
Output
[
  {
    "title": "Caching in Next.js",
    "url": "nextjs.org/docs/app/guides/caching"
  },
  {
    "title": "Next.js 16 release notes",
    "url": "nextjs.org/blog/next-16"
  }
]
Input
{
  "path": "app/page.tsx"
}
Output
export default function Page() {\n  return <Hero />;\n}
Input
{
  "command": "bun test"
}

Install

$ bunx --bun shadcn add @easeui-pro/tool-call

Tool approval

A permission prompt that shows exactly what will run, then folds down to a one line record of the answer.

Run a command in your terminalbash

I need to install the date library before I can finish the calendar view.

bun add date-fns@4

Install

$ bunx --bun shadcn add @easeui-pro/tool-approval