Integrations
Google Docs, Sheets and Slides
Read the document, spreadsheet or presentation you have open, as text the agent can work with. Read only.
Where it works
docs.google.com, which serves Docs, Sheets and Slides alike; the product is read from the address.
Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.
How it works
The content comes from Google’s own export of the file, fetched with the session you are already signed in with — no OAuth app, no connector, no consent screen.
When Google answers a request with its sign-in page instead of the file, the adapter recognises it and says so, rather than handing the agent a sign-in page as if it were your document.
Tools
Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.
Reads Read only
These only look things up.
- What this Google Docs adapter can see
get_capabilitiesWhat this Google Docs adapter can see on the current page: the product, the document id, the account index and the active sheet, all read from the page URL. - What document is open
get_current_documentThe Google document, spreadsheet or presentation currently open in this tab: product, document id, account index, and for a spreadsheet the active sheet id (gid). - Read the open Google document
read_documentRead the text of the Google Doc or Slides presentation open in this tab (defaults to the open document; pass document_id to name another). - Read the open Google spreadsheet
read_spreadsheetRead the rows of ONE sheet of the Google spreadsheet open in this tab (defaults to the open spreadsheet and its active sheet; pass gid to name another). total_rows counts the rows of THAT SHEET, not of the whole spreadsheet.
See Page tools in the user guide for how to see what a tab offers, or every integration.