Class RealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.Always
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.AlwaysA filter object to specify which tools are allowed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.Always.BuilderA builder for Always.
-
Method Summary
-
-
Method Detail
-
readOnly
final Optional<Boolean> readOnly()
Indicates whether or not a tool modifies data or is read-only. If an MCP server is annotated with
readOnlyHint, it will match this filter.
-
_readOnly
final JsonField<Boolean> _readOnly()
Returns the raw JSON value of readOnly.
Unlike readOnly, this method doesn't throw if the JSON field has an unexpected type.
-
_toolNames
final JsonField<List<String>> _toolNames()
Returns the raw JSON value of toolNames.
Unlike toolNames, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.Always.Builder toBuilder()
-
validate
final RealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.Always validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RealtimeSessionCreateResponse.Tool.McpTool.RequireApproval.McpToolApprovalFilter.Always.Builder builder()
Returns a mutable builder for constructing an instance of Always.
-
-
-
-