google-search-agent-flashdata / input-schema.json
flashdata-dev's picture
Publish Google Search tool and interactive request guide
7514349 verified
Raw History Blame Contribute Delete
1.96 kB
{
"additionalProperties": false,
"description": "Preserve the original Google Search tool defaults.",
"properties": {
"query": {
"description": "Search query, between 1 and 2,000 characters.",
"maxLength": 2000,
"minLength": 1,
"title": "Query",
"type": "string"
},
"num": {
"default": 10,
"maximum": 100,
"minimum": 1,
"title": "Num",
"type": "integer"
},
"page": {
"default": 1,
"maximum": 100,
"minimum": 1,
"title": "Page",
"type": "integer"
},
"autocorrect": {
"default": true,
"title": "Autocorrect",
"type": "boolean"
},
"gl": {
"anyOf": [
{
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Two-letter country code, for example us.",
"title": "Gl"
},
"hl": {
"anyOf": [
{
"pattern": "^[A-Za-z0-9-]{1,35}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Interface language code, for example en.",
"title": "Hl"
},
"location": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional geographic search location.",
"title": "Location"
},
"tbs": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional Google time filter, for example qdr:w.",
"title": "Tbs"
}
},
"required": [
"query"
],
"title": "GoogleSearchInput",
"type": "object"
}