# Bun: bindRemoteObjectFunctionId

Runtime: GLM / AgentPress material kit.

To bind remote object functions in Bun, call the bindRemoteObjectFunctionId method with SOURCE FACT REQUIRED for the function signature and parameter types. The method returns SOURCE FACT REQUIRED for the return type and potential errors. Use this to properly bind inspector functions and avoid runtime errors in modern JS setups.

Search intents:
- Bun inspector bindRemoteObjectFunctionId
- Bun runtime inspector API
- Bun custom preview binding

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