Class BetaManagedAgentsWebFetchUrlSourcesParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSourcesParamsWhich sources contribute URLs the web_fetch tool may fetch. When web_fetch is limited to URLs the conversation has already shown the model (in a user message, a custom tool's result, or an earlier web_search or web_fetch result), each key narrows one of those sources and defaults to "all". Setting all three keys to "none" is rejected.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWebFetchUrlSourcesParams.BuilderA builder for BetaManagedAgentsWebFetchUrlSourcesParams.
-
Method Summary
Modifier and Type Method Description final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams>clientToolResults()Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams>serverToolResults()Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. final Optional<BetaManagedAgentsWebFetchUrlSourceUserInputParams>userInput()Whether URLs in the text of user messages may be fetched: "all" (the default) or "none". final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams>_clientToolResults()Returns the raw JSON value of clientToolResults. final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams>_serverToolResults()Returns the raw JSON value of serverToolResults. final JsonField<BetaManagedAgentsWebFetchUrlSourceUserInputParams>_userInput()Returns the raw JSON value of userInput. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWebFetchUrlSourcesParams.BuildertoBuilder()final BetaManagedAgentsWebFetchUrlSourcesParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWebFetchUrlSourcesParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourcesParams. -
-
Method Detail
-
clientToolResults
final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> clientToolResults()
Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be a custom tool in the same tools array.
-
serverToolResults
final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> serverToolResults()
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be "web_search" or "web_fetch".
-
userInput
final Optional<BetaManagedAgentsWebFetchUrlSourceUserInputParams> userInput()
Whether URLs in the text of user messages may be fetched: "all" (the default) or "none".
-
_clientToolResults
final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> _clientToolResults()
Returns the raw JSON value of clientToolResults.
Unlike clientToolResults, this method doesn't throw if the JSON field has an unexpected type.
-
_serverToolResults
final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> _serverToolResults()
Returns the raw JSON value of serverToolResults.
Unlike serverToolResults, this method doesn't throw if the JSON field has an unexpected type.
-
_userInput
final JsonField<BetaManagedAgentsWebFetchUrlSourceUserInputParams> _userInput()
Returns the raw JSON value of userInput.
Unlike userInput, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder toBuilder()
-
validate
final BetaManagedAgentsWebFetchUrlSourcesParams 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 BetaManagedAgentsWebFetchUrlSourcesParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourcesParams.
-
-
-
-