Beta Managed Agents Web Search Tool Config
BetaManagedAgentsWebSearchToolConfig objectConfiguration for the web_search tool.
type: "web_search"enabled: booleanname: "web_search"permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicyPermission policy for tool execution.
BetaManagedAgentsAlwaysAllowPolicy objectTool calls are automatically approved without user confirmation.
type: "always_allow"
BetaManagedAgentsAlwaysAskPolicy objectTool calls require user confirmation before execution.
type: "always_ask"
BetaManagedAgentsAutoPolicy objectThe server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
type: "auto"
allowed_domains: optional array of stringblocked_domains: optional array of stringuser_location: optional BetaManagedAgentsUserLocation or nullApproximate user location for search result localization.
type: "approximate"Location precision. Only "approximate" is supported.
city: optional string or nullCity name.
minLength: 1, maxLength: 255
country: optional string or nullTwo-letter ISO 3166-1 country code, uppercase.
region: optional string or nullRegion or state name.
minLength: 1, maxLength: 255
timezone: optional string or nullIANA timezone identifier, e.g. "America/Los_Angeles".
minLength: 1, maxLength: 255