# Bun: generatePreview

Runtime: GLM / AgentPress material kit.

Bun's generatePreview inspector endpoint exposes SOURCE FACT REQUIRED: the exact function signature for the generatePreview method, SOURCE FACT REQUIRED: the parameter types accepted by the method, and SOURCE FACT REQUIRED: the return value schema. Agents must validate that the method accepts the documented parameter types and returns the documented return value before trusting the data.

Search intents:
- Bun generatePreview inspector
- Bun inspector Runtime EvaluateParameterType
- Bun modern JS runtime

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