# Bun: arguments

Runtime: GLM / AgentPress material kit.

Bun's inspector API exposes a CallFunctionOn parameter type that defines the arguments a function can accept. Each argument has a SOURCE FACT REQUIRED name, SOURCE FACT REQUIRED type (string, number, boolean, object, etc.), and SOURCE FACT REQUIRED optional status. The inspector's /call-function-on endpoint accepts these argument definitions to validate runtime calls. Agents should handle SOURCE FACT REQUIRED type mismatches and SOURCE FACT REQUIRED optional fields.

Search intents:
- Bun inspector arguments
- Bun CallFunctionOn
- Bun runtime type validation

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