Claude.Server_infoServer capabilities and metadata.
Server capabilities and metadata.
This module provides a high-level interface for querying server capabilities and metadata. It wraps the underlying protocol representation and provides convenient accessors and capability checks.
val version : t -> stringversion t returns the server version string.
val capabilities : t -> string listcapabilities t returns the list of available server capabilities.
val commands : t -> string listcommands t returns the list of available CLI commands.
val output_styles : t -> string listoutput_styles t returns the list of supported output formats.
val has_capability : t -> string -> boolhas_capability t cap returns true if the specified capability is available.
val supports_hooks : t -> boolsupports_hooks t checks if the hooks capability is available.
val supports_structured_output : t -> boolsupports_structured_output t checks if the structured output capability is available.
val of_proto : Proto.Control.Server_info.t -> tof_proto proto converts from the protocol representation.
val of_sdk_control : Claude__.Sdk_control.Server_info.t -> tof_sdk_control sdk converts from the SDK control representation.