refactor: clarify usage instructions for Google Drive file HITL creation tool

This commit is contained in:
Anish Sarkar 2026-03-18 03:36:02 +05:30
parent 758664f860
commit 804106af11

View file

@ -33,11 +33,12 @@ def create_create_google_drive_file_tool(
Use this tool when the user explicitly asks to create a new document
or spreadsheet in Google Drive. The user MUST specify a topic before
you call this tool. If the request is vague, ask what the file should
contain. Never call this tool without a clear topic from the user.
you call this tool. If the request does not contain a topic (e.g.
"create a drive doc" or "make a Google Sheet"), ask what the file
should be about. Never call this tool without a clear topic from the user.
Args:
name: The file name (without extension). Infer from the user's request.
name: The file name (without extension).
file_type: Either "google_doc" or "google_sheet".
content: Optional initial content. Generate from the user's topic.
For google_doc, provide markdown text. For google_sheet, provide CSV-formatted text.