Class BetaManagedAgentsSessionAgentUpdate
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionAgentUpdateMid-session agent configuration update. Only
toolsandmcp_serversare updatable. Full replacement: the provided array becomes the new value. To preserve existing entries, GET the session, modify the array, and POST it back.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionAgentUpdate.BuilderA builder for BetaManagedAgentsSessionAgentUpdate.
public final classBetaManagedAgentsSessionAgentUpdate.ToolUnion type for tool configurations in the tools array.
-
Method Summary
Modifier and Type Method Description final Optional<List<BetaManagedAgentsUrlMcpServerParams>>mcpServers()Replacement MCP server list. final Optional<List<BetaManagedAgentsSessionAgentUpdate.Tool>>tools()Replacement tool list. final JsonField<List<BetaManagedAgentsUrlMcpServerParams>>_mcpServers()Returns the raw JSON value of mcpServers. final JsonField<List<BetaManagedAgentsSessionAgentUpdate.Tool>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionAgentUpdate.BuildertoBuilder()final BetaManagedAgentsSessionAgentUpdatevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionAgentUpdate.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionAgentUpdate. -
-
Method Detail
-
mcpServers
final Optional<List<BetaManagedAgentsUrlMcpServerParams>> mcpServers()
Replacement MCP server list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.
-
tools
final Optional<List<BetaManagedAgentsSessionAgentUpdate.Tool>> tools()
Replacement tool list. Full replacement: the provided array becomes the new value. Send an empty array to clear; omit to preserve.
-
_mcpServers
final JsonField<List<BetaManagedAgentsUrlMcpServerParams>> _mcpServers()
Returns the raw JSON value of mcpServers.
Unlike mcpServers, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<BetaManagedAgentsSessionAgentUpdate.Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionAgentUpdate.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionAgentUpdate 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 BetaManagedAgentsSessionAgentUpdate.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionAgentUpdate.
-
-
-
-