Class RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools
List of allowed tool names or a filter object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.Visitor
An interface that defines how to map each variant of AllowedTools to a value of type T.
public final class
RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.McpToolFilter
A filter object to specify which tools are allowed.
-
Method Summary
-
-
Method Detail
-
mcpToolFilter
final Optional<RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.McpToolFilter> mcpToolFilter()
A filter object to specify which tools are allowed.
-
isMcpToolFilter
final Boolean isMcpToolFilter()
-
asMcpToolFilter
final RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.McpToolFilter asMcpToolFilter()
A filter object to specify which tools are allowed.
-
accept
final <T extends Any> T accept(RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.Visitor<T> visitor)
-
validate
final RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools validate()
-
ofMcp
final static RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools ofMcp(List<String> mcp)
A string array of allowed tool names
-
ofMcpToolFilter
final static RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools ofMcpToolFilter(RealtimeSessionCreateResponse.Tool.McpTool.AllowedTools.McpToolFilter mcpToolFilter)
A filter object to specify which tools are allowed.
-
-
-
-