drive_docs_info
Inspect a document's title, revision id, and structural outline (heading ranges, named ranges, paragraph/table counts) without reading full body text; the revision id guards later writes.
Instructions
Show a document's title, revision id and structural outline: named ranges and, per tab, heading text with its [start,end) index range plus paragraph/table/section-break counts — no full body text. revision_id is what a later drive docs replace/append presents as writeControl.requiredRevisionId, so a write against a document that moved underneath it is refused rather than misapplied; it is absent when the caller lacks edit access. Use drive_docs_read for the full element list with every index. Read-only. Mirrors omni-dev drive docs info. Output is YAML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Selects a named Drive account instead of the ambient `--account`/`OMNI_DEV_DRIVE_ACCOUNT` resolution — e.g. `work`. Omit to use the resolved default account (or the legacy single-account credentials, if no named accounts are configured). Call `drive_account_list` to discover configured names. | |
| document_id | Yes | Document id (the `/d/<ID>/` segment of a Docs URL, e.g. `1a2B3c4D5e6F7g8H9iJ0kLmNoPqRsTuVwXyZ`). Required. |