♊ GEMINIPULSE STAR 08 / 08 · γ ALHENA
✦ STAR 08 / 08 · γ ALHENA · 109 LIGHT-YEARS ORIGINAL GEMINI ESSAY · NOV 18, 2026 · 7 MIN READ

Stop Ingesting 400-Page Manuals Blindly. Gemini Now Slices Office Files, Cells & Layers on Demand.

For years, feeding enterprise files into an AI model meant maintaining brittle LibreOffice and ffmpeg chop-shops—or paying full-file token bills every turn. On November 18, 2026, Google moved surgical document, spreadsheet, video, and audio slicing directly into the Gemini API and function_result.

Reading Lens (⌘F Searches Both):
✦ 30-SECOND PULSE CHECK · BEFORE YOU DIVE IN ZERO TRUNCATION · FULL ESSAY BELOW
What Shipped
Google added direct Microsoft Office (.docx, .pptx, .xlsx) and OpenDocument (.odt, .odp, .ods) support plus static page_options, spreadsheet_options, video/audio time offsets, and content_layers across prompts and function_result—alongside Gen AI SDK v3.5.0–v3.6.0.
Why Builders Care
Gemini bills strictly for the sliced range and layers while exposing total page counts and worksheet names automatically, letting agents skim text or transcripts cheaply and zoom in at high resolution only where charts or formulas live.
The Fine-Print Catch
Un-sliced Gemini 4+ Office docs default to medium-res page images (~560 tokens/page), out-of-bounds sheet_index or start_offset values throw 400 INVALID_ARGUMENT, and Live Interactions in SDK v3.5–v3.6 remain experimental on v1beta.
PART I · α CASTOR · PRODUCT, TOKEN ECONOMICS & WORKFLOW LENS α CASTOR · THE SIGNAL

Why Surgical File Slicing Kills the Hidden Preprocessing Tax

How native Word, PowerPoint, Excel, and time-sliced media turns passive file dumps into interactive progressive drilldown.

If you have built a real enterprise Gemini app over the past two years, your hardest engineering work was rarely the prompt—it was the unglamorous ingestion glue sitting in front of it. Teams ran headless LibreOffice containers to convert .pptx decks to PDF, maintained openpyxl scripts to flatten Excel tabs, and invoked ffmpeg to clip 90-second excerpts out of hour-long recordings.

On November 18, 2026, Google’s Gemini API changelog eliminated that entire class of middleware. Developers can now pass Microsoft Office (.docx, .doc, .dotx, .pptx, .ppt, .xlsx, .xls) and OpenDocument (.odt, .odp, .ods) files directly in document blocks—and attach declarative processing rules to slice exact page ranges, worksheet tabs, A1 cell ranges, media timestamps, and content layers.

Even better, Google wired the exact same slicing contract into function_result. When a tool returns a sliced document or spreadsheet, Gemini automatically receives structural metadata like total page counts and worksheet names without paying rendering tokens for the whole file, letting the model request narrower follow-up slices across turns.

Alongside the API update, Gen AI SDK v3.5.0 and v3.6.0 (@google/genai and google-genai) shipped experimental Live Interactions over WebSocket and WebRTC backed by ephemeral interactions.authTokens, self-hosted BYOS environments, and deferred MCP tool loading (defer_loading).

“Paying for only the three chart pages and one EBITDA range you actually inspect turns million-token context windows from a cost center into a surgical microscope.”

GOOGLE GEMINI 4 ARGON · α CASTOR EDITORIAL SYNTHESIS
Full-File Ingestion vs. Nov 18 Gemini API Multimodal Slicing & SDK v3.6
ModalityPrior BaselineNov 18 Slicing ContractCost & Quality Advantage
Word, Slides & PDFFull file rendered or manually split client-sidepage_options: start_page, end_page, content_layers (page_image / page_text)Skim text first; zoom high-res (~1,120 tok/pg) on chart pages only
Excel & Calc SheetsUp to 50,000 cells/sheet across whole workbookspreadsheet_options: sheet_index, visible_cells (A1:H50), data/formulas/visualAudit exact EBITDA formulas + visual chart without unrelated tabs
Video & AudioFull duration or local ffmpeg pre-clippingstart_offset, end_offset, fps in (0, 24], content_layers (frames/audio/transcript)Transcript-only first pass costs text tokens instead of 1 FPS frames
Tool ReturnsWhole file URI returned to contextfunction_result accepts processing + resolution + auto page/sheet metadataMulti-turn agent self-navigation across 400-page manuals
CHAPTER 02 / 04 · WHAT THIS MEANS FOR YOU ADAPTIVE READER QUESTIONS
FOR FINANCE & ANALYTICS TEAMS

Can Gemini read both evaluated numbers and raw Excel formulas alongside charts?

Yes. In processing.spreadsheet_options, content_layers defaults to ["data", "formulas"] and lets you add "visual" (plus outer resolution: "low", "medium", or "high") to inspect rendered charts in the same A1 visible_cells crop.

FOR AGENT ARCHITECTS

How does the model know which page or sheet tab to slice inside a tool loop?

When you pass a file through processing or function_result, Gemini automatically receives total page counts and worksheet names in metadata so it can target follow-up slices across turns.

FOR FRONTEND & MOBILE BUILDERS

How do SDK v3.5–v3.6 Live Interactions avoid exposing API keys in the browser?

Your server calls interactions.authTokens.create() to mint a short-lived ephemeral token, which the browser or mobile client uses with experimental interactions.connect over WebSocket or WebRTC.

PART II · β POLLUX · ENGINEERING, SCHEMAS & SDK v3.6 LENS β POLLUX · THE WORKBENCH

Implementing Two-Pass Slicing, function_result Loops & Live Interactions

Exact parameter contracts across page_options, spreadsheet_options, video/audio offsets, and Gen AI SDK v3.6.0.

Every document, spreadsheet, video, and audio slice uses processing: { type: "static" } with modality-specific options on the content block inside client.interactions.create(). For documents and slides, set page_options with 1-indexed start_page / end_page and content_layers (["page_image"], ["page_text"], or both). Outer resolution tunes rendering cost from "low" (~280 tokens/page) to "medium" (~560) and "high" (~1,120).

For spreadsheets (.xlsx, .xls, .ods), spreadsheet_options accepts 1-indexed sheet_index (values <= 0 or above sheet count return 400 INVALID_ARGUMENT) and A1 notation visible_cells. For video and audio, start_offset and end_offset accept second strings like "1200s"; end_offset past media length clamps cleanly while out-of-range start_offset returns 400 INVALID_ARGUMENT.

In @google/genai and google-genai v3.5.0–v3.6.0, combine sliced function_result tool returns with defer_loading: true on MCPServer tool configs and ephemeral interactions.authTokens for real-time WebRTC/WebSocket clients.

01 · Two-Pass Skim Before High-Res Vision
Scan large Office/PDF decks with content_layers: ["page_text"] or video with ["transcript"] first, then request "high" resolution page_image or video frames solely for target ranges.
02 · Return Sliced Payloads in function_result
Keep large PDFs and workbooks in the Files API and let inspect_document_pages or inspect_sheet tools return only the requested slice inside function_result.result.
03 · Guard Bounds & Pin v1beta for Live Interactions
Validate sheet_index (>= 1) and start_offset (< duration) before dispatch to avoid 400 INVALID_ARGUMENT, and configure apiVersion: "v1beta" when using experimental Live Interactions.
PROGRESSIVE SPREADSHEET & FUNCTION_RESULT SLICING (@google/genai v3.6.0)
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({});
const workbook = await ai.files.upload({
  file: "financial_model.xlsx",
  config: { mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" },
});

const interaction = await ai.interactions.create({
  model: "gemini-4-hydrogen",
  input: [
    {
      type: "document",
      uri: workbook.uri,
      mime_type: workbook.mimeType,
      resolution: "high",
      processing: {
        type: "static",
        spreadsheet_options: {
          sheet_index: 2,
          visible_cells: "A1:H50",
          content_layers: ["data", "formulas", "visual"],
        },
      },
    },
    { type: "text", text: "Audit the EBITDA formulas and chart in Sheet 2 (A1:H50)." },
  ],
});
CHAPTER 04 / 04 · GEMINI’S VERDICT & CITATIONS PRIMARY GOOGLE SOURCES

Gemini’s Bottom Line: Server-Side Slicing Makes Multimodal Context Surgical

Combining native Office support, range-billed slicing in function_result, and WebRTC Live Interactions removes the last heavy preprocessing hurdles.

Adopt immediately if: your agents parse multi-tab Excel workbooks, 100+ page slide decks/manuals, or long call/video recordings—replacing custom LibreOffice and ffmpeg choppers with declarative processing options.

Upgrade to SDK v3.6.0: when building browser/edge real-time apps with ephemeral interactions.authTokens or large MCP tool registries with defer_loading: true.

PRIMARY GOOGLE SOURCES CITED IN THIS ESSAY VERIFIED · NOV 18, 2026
Official Gemini API Changelog · Google AI for Developers · November 18, 2026 Multimodal file processing and slicing (November 18, 2026)
Primary Google Source
Official Document Processing Docs · Google AI for Developers · November 18, 2026 Customize document, presentation, and spreadsheet processing
Primary Google Source
Official GitHub SDK Release · Google APIs · November 18, 2026 googleapis/js-genai v3.6.0 & v3.5.0 (plus python-genai v3.6.0)
Primary Google Source