Add support for full web search config

This commit is contained in:
Rohan Mehta
2026-03-05 22:30:52 -05:00
parent 7a5aff4972
commit b2263a7db6
20 changed files with 819 additions and 2 deletions

View File

@@ -2635,6 +2635,16 @@
"type": "null"
}
]
},
"web_search_config": {
"anyOf": [
{
"$ref": "#/definitions/WebSearchConfig"
},
{
"type": "null"
}
]
}
},
"type": "object"
@@ -8655,6 +8665,16 @@
"type": "null"
}
]
},
"web_search_config": {
"anyOf": [
{
"$ref": "#/definitions/WebSearchConfig"
},
{
"type": "null"
}
]
}
},
"type": "object"
@@ -14586,6 +14606,65 @@
}
]
},
"WebSearchConfig": {
"additionalProperties": false,
"properties": {
"filters": {
"anyOf": [
{
"$ref": "#/definitions/WebSearchFilters"
},
{
"type": "null"
}
]
},
"search_context_size": {
"anyOf": [
{
"$ref": "#/definitions/WebSearchContextSize"
},
{
"type": "null"
}
]
},
"user_location": {
"anyOf": [
{
"$ref": "#/definitions/WebSearchUserLocation"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"WebSearchContextSize": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
"WebSearchFilters": {
"additionalProperties": false,
"properties": {
"allowed_domains": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
}
},
"type": "object"
},
"WebSearchMode": {
"enum": [
"disabled",
@@ -14594,6 +14673,50 @@
],
"type": "string"
},
"WebSearchUserLocation": {
"additionalProperties": false,
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
},
"type": {
"allOf": [
{
"$ref": "#/definitions/WebSearchUserLocationType"
}
],
"default": "approximate"
}
},
"type": "object"
},
"WebSearchUserLocationType": {
"enum": [
"approximate"
],
"type": "string"
},
"WindowsSandboxSetupCompletedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {