@sqlrooms/mcp / createRoomCapabilityRuntime
Function: createRoomCapabilityRuntime()
createRoomCapabilityRuntime(
options):RoomCapabilityRuntime
Creates a transport-neutral runtime for discovering and invoking room capabilities with schema validation, policy authorization, cancellation, timeouts, and bounded JSON inputs and outputs.
Call RoomCapabilityRuntime.dispose when the host no longer exposes the room so active invocations are cancelled and later calls are rejected.
Parameters
| Parameter | Type |
|---|---|
options | CreateRoomCapabilityRuntimeOptions |