Black Friday Sale 40% Off•Sale end soon

PaceUI

  • Components
  • Blocks
  • Templates
  • Studio
  • Resources
Intro
  • Components
  • Installation
  • MCP
Agents
  • Chat Composer
  • Workflow Board
  • Thinking States
  • Audio Visualizer
  • Task Pipeline
  • Approval Card
  • Tool Calls
    New
  • Model Ability Selector
  • Model Selector
  • Response Writer
  • AI Suggestions
  • Token Counter
Crafts
  • All Crafts
  • Avatar Flight
  • Voice Record
  • Starfield Card
  • Destination Queue
  • Rolling Bento
  • Download Button
  • Cart Stepper
  • Heart Burst
  • Copy Bar
  • Generative Grid
  • Destination Card
  • Magnetic Button
  • Morphing Copy
  • Expanding Search
  • Metric Tracker
  • Tilt Card
  • Animated Stack
Charts
  • Acquisition Funnel
  • Weekly Traffic
  • Customer Growth
  • Financial Performance
  • Model Usage
  • Customer Segments
  • Sales Overview
  • Channel Sales
  • Daily Orders
  • Weekly Attendance
  • Market Trends
  • Portfolio Overview
  • Resource Usage
  • SaaS Subscriptions
  • Database Performance
  • API Traffic
  • Traffic Distribution
  • Spend Allocation
Motion
  • Accordion
  • Alert
  • Calendar
  • Checkbox
  • Collapsible
  • Combobox
  • Context Menu
  • Dropdown Menu
  • Empty
  • Hover Card
  • Input OTP
  • Menubar
  • Navigation Menu
  • Pagination
  • Progress
  • Radio Group
  • Rating
    New
  • Scroll Area
  • Select
  • Sidebar
  • Slider
  • Switch
  • Tabs
  • Tooltip
  • Reveal Text
  • Scramble Text
  • Squash Text
  • Bouncing Text
  • Mouse Wave Text
  • Text Fall Button
  • Spring Button
  • Infinite Scroller
  • Fillable Button
  • Layered Stack
  • Gradient Shadow
  • Profile Peek
  • Flip Reveal
  • Reveal on Scroll
  • Swap
  1. Components
  2. Agents
PreviousNext

Tool Calls

An AI agent tool execution and schedule resolution composer featuring pluggable tool components, real-time telemetry, structured action cards, and instant confirmation actions.

When to use

  • Displaying human-in-the-loop decisions generated from function/tool calls such as calendar checks, database lookups, or API queries.
  • Allowing users to compare multi-option resolution slots and confirm bookings or triggers in one tap.
  • Passing pluggable, modular tool components to a unified agent composer with rich input contexts.

When not to use

  • Simple binary confirmation cards without multi-option selection; use Approval Card instead.
  • Raw text-only streaming responses without external structured tool data.

API Reference

AgentToolcallComposerProps

PropTypeDefaultDescription
toolsToolItem[][]List of tool definitions ({ name, title, description, component, props }) passed to the composer.
activeToolNamestring—The name of the active tool component to display.
showToolsbooleanfalseWhether to render the active tool result above the input composer.
defaultExpandedToolsbooleanfalseWhether tool results start expanded by default.
onSubmit(value: string) => void—Callback when a new follow-up prompt is sent.
isLoadingbooleanfalseLoading state for pending tool executions or requests.

MeetingToolCardProps

PropTypeDefaultDescription
statusTextstring"Checked 5 calendars in 4s"Telemetry header string.
participantsParticipant[][]Avatars and participant names.
explanationReactNode—Explanatory message text or badges.
slotsCalendarSlot[][]Interactive resolution items or time options.
selectedSlotIdstring—Controlled active item id.
onSelectSlot(slot: CalendarSlot) => void—Handler triggered when a slot is clicked.
onPrimaryAction(slot?: CalendarSlot) => void—Primary action trigger (e.g. "Confirm Booking").
onSecondaryAction() => void—Secondary action trigger (e.g. "Other times").
Approval CardModel Ability Selector

PaceUI

Animated blocks, components, and templates for Next.js and TanStack Start. Built with Motion and shadcn - clean code you own.

GitHubTwitterDiscord

Products

BlocksComponentsTemplatesCraftsTanStack ChartsMCP ServerStarter KitsStyleX Components

Resources

DocumentationMotion ComponentsGSAP AnimationsNative AIBlogChangelog

Pricing & Account

PricingManage AccountLicensesAPI KeysAffiliate Program

Company

Contact UsDiscord CommunityPrivacy PolicyTerms of Service

© 2026 PaceUI. All rights reserved. Built by indie developer, Denish

PACEUI