save_answer_query_websearch
Retrieves answers to natural language queries using Google Search, processes them with Vertex AI models, and saves the results to a specified file path for easy access and storage.
Instructions
Answers a natural language query using Google Search results and saves the answer to a file. Uses the configured Vertex AI model (gemini-2.5-pro-exp-03-25). Requires 'query' and 'output_path'.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
output_path | Yes | The relative path where the generated answer should be saved. | |
query | Yes | The natural language question to answer using web search. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"output_path": {
"description": "The relative path where the generated answer should be saved.",
"type": "string"
},
"query": {
"description": "The natural language question to answer using web search.",
"type": "string"
}
},
"required": [
"query",
"output_path"
],
"type": "object"
}