Components / AI components / Review & permissions
Human reviewExperimental alpha

PermissionRequest

Ask for exactly the access you need.

PermissionRequest preview

Connect to CRM sandbox

Permission: requested

Research agent requests accounts:read

Access permission does not approve later actions.

Simulated host. Lost acknowledgement commits the change but withholds its response. Receipt lookup and snapshot refresh are separate read operations.

Interactions use local sample data.

Usage and props

Authorize the current exact scope on the host, retain the original command and acknowledge its receipt. Permission grants remain separate from action approvals; reconnecting must not replay a decision.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

value: PermissionSnapshot · commandId · submission · onDecision · onReconcile?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard