Playbooks · Coding tasks
Gemini API now takes Office files and returns files
Written November 6, 2026
The Gemini API accepts legacy Office and ODF inputs and returns multimodal function-response files. What builders can send now — and its limits.
What changed on November 5
The November 5, 2026 entry in the Google AI Studio changelog adds two things: new file types the Gemini API accepts as input, and new file types tools can return in function responses.
On the input side, the API now accepts PowerPoint 97-2003 (PPT), OpenDocument Presentation (ODP), and OpenDocument Spreadsheet (ODS) files, and adds page-image processing for Word 97-2003 (DOC) files. DOC, PPT, and ODP files are rendered as page images. For ODS files, the model receives the data and formulas from the first sheet. Processing for DOCX, DOTX, ODT, PPTX, XLSX, and XLS files is unchanged.
On the function-response side, tools can now return Office and OpenDocument files, audio, and video to the model. In the GenerateContent API, function response parts now accept audio, video, and Office and OpenDocument files, in addition to images, PDFs, and plain text. They also accept fileData, so tools can return a Files API URI instead of inline bytes. displayName is now available on both inlineData and fileData, and video parts accept mediaProcessing (STATIC or AGENTIC). In the Interactions API, function_result steps now accept document, audio, and video content blocks, in addition to text and image, by inline data or URI.
What builders can send now
- Old decks and documents. A PPT or DOC from the 97-2003 era no longer needs converting before it goes to the model. It is rendered as page images, so the model sees the layout, not just the text.
- OpenDocument files. ODP presentations and ODS spreadsheets are accepted directly. For ODS, only the first sheet's data and formulas reach the model — see the limit below.
- Files back from tools. A tool can hand the model a file — a document, an audio clip, a video — as part of a function response, by inline bytes or by Files API URI. Before this change, function responses were limited to images, PDFs, and plain text.
The limits
- ODS means the first sheet only. The model receives the data and formulas from the first sheet of an ODS file. A workbook whose answer lives on the second sheet will not have it. Split the sheet out, or send the sheet you need, before calling the API.
- DOC, PPT, and ODP arrive as page images. The model sees rendered pages, not the underlying document structure. Text that matters may need checking against the image rendering, and anything that depends on the document's internal structure — tracked changes, comments, embedded objects — is not part of what the model receives.
- Nothing here was tested firsthand. No API call was made for this page, so the behaviour above is the changelog's description, not a measured result. The changelog is the source; a call against your own files is the check.
What to do with it
- Drop the conversion step for legacy files. If your pipeline converts PPT or DOC to something else before sending it to Gemini, try sending the original. Keep the conversion as a fallback until you have seen the page-image rendering on your own documents.
- Check the first-sheet rule before sending a spreadsheet. Open the ODS file, confirm the data you need is on the first sheet, and move it there if it is not.
- Use fileData for tool returns. When a tool returns a file to the model, a Files API URI keeps the response small and avoids stuffing bytes into the function response. Note that video blocks in the Interactions API are available in
v1betaandv1alpha. - Remember the December 1 date on the same changelog. Gemini 2.5 Pro and Flash retire on December 1, with API calls rerouted to their replacements. See Gemini 2.5 Pro and Flash retire December 1, and the full list of upcoming dates in agent change deadlines.
Related playbooks
- Gemini Decision: a model and API for choices
- OpenAI's Agents API: the harness is now hosted
- DeepSeek, Exa, Brave, Tavily: which web-search API should your agent actually pay for now that search is metered
- Grok API watermarks text from today
Sources
- Google AI Studio changelog — November 5, 2026 entry: expanded Office and OpenDocument file support; more file types and file URIs in function responses
Back to: Coding playbooks hub · Also: Gemini 2.5 Pro and Flash retire December 1 · Model specs: context, tools, and cutoffs in one table · Agent change deadlines: retirements and shutdowns