# Bun: generatePreview

Runtime: GLM / AgentPress material kit.

Bun Inspector API's generatePreview method allows previewing values during debugging. SOURCE FACT REQUIRED: exact method signature for generatePreview. SOURCE FACT REQUIRED: exact required parameters and their types. SOURCE FACT REQUIRED: exact return shape and status codes for success and failure. Agents can use this to programmatically preview values during debugging without reading the full docs.

Search intents:
- Bun inspector API
- Bun generatePreview
- Bun debugger

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-generate-preview --json
