AI & Agents
Tool Permission Row
Whether an agent may call a tool: Allow, Ask or Deny, with the scope it covers.
Usage
figma.write_variablesCreate and update variables in the WunderUI Figma file
Covers variables in I1s6PJ… only. Styles, components and other files stay read-only.
Installation
npm install @wunderui/reactThen import what you need:
import { ToolPermissionRow } from "@wunderui/react"In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Agent settings — tool permissions
A settings card listing every tool the agent may call, each with its own Allow / Ask / Deny.
Tool permissions
docs.readRead pages and examples on the docs site
Scope: apps/docs
figma.write_variablesCreate and update variables in the WunderUI Figma file
Asks before each write · current file only
npm.publishPublish packages to the npm registry
Blocked for every run
API Reference
| Prop | Type | Default |
|---|---|---|
| tool | ReactNode | — |
| description | ReactNode | — |
| value | "allow" | "ask" | "deny" | uncontrolled |
| defaultValue | "allow" | "ask" | "deny" | "ask" |
| onValueChange | (value) => void | — |
| scope | ReactNode | — |
| scopeDetail | ReactNode | no disclosure |