Skip to content

Pearl Agent Tools

Pearl’s tools are registered via ADK’s functiontool.New and defined in internal/pearl/agent/. Pearl focuses on design — component generation, design review, Figma integration, interactive snippets, and a reusable component library.

Delivers design reviews, recommendations, and UI copy in the Slack thread associated with the current session.

Posts design feedback as a Jira comment.

Tags Dolly in Slack to request clarification on requirements.

Notifies Dolly about a design deliverable or status update. Optionally includes a snippet URL.

Fetches ticket details to read requirements before producing deliverables.

Generates a Svelte component from a description and optional Figma reference. Parameters: name, description, figma_url (optional), node_id (optional), framework (optional), design_tokens (optional).

Reviews a design for accessibility, consistency, usability, or all categories. Optionally fetches Figma context. Parameters: description, figma_url (optional), node_id (optional), check_type (optional).

Generates UI copy — labels, errors, empty states, tooltips, and microcopy. Parameters: context, copy_type, component (optional).

Fetches file metadata and the document tree (depth=2).

Fetches a specific node from a Figma file.

Lists all components in a Figma file.

Lists all styles in a file — colors, text, effects, and grids.

Renders nodes as images (PNG, SVG, JPG, PDF). Returns download URLs.

Fetches all local variables (design tokens) from a file.

Lists all projects in the configured Figma team.

Lists all files in a Figma project.

Publishes an interactive HTML/CSS/JS snippet. Creates a new snippet or adds a version to an existing one. Returns a view URL. Parameters: title, description, snippet_id (optional), html/css/js or files array, design_language (optional).

Sends a snippet preview link to the Slack thread.

Saves a reusable component to the library. Categories: buttons, cards, navigation, forms, feedback, layout, data-display. Parameters: name, category, tags (optional), description (optional), design_language (optional), status (“draft” or “approved”), files/html/code.

Lists and searches components in the library. Filter by category or search query.

Gets full source and metadata by component ID.

Switches the active design language and returns the full reference (tokens, styles, components). Only call when needed for generation, not for general questions.

Lists all available design languages with Figma file keys and cache status.