## §OIP SYSTEM ARTICLE — GDRIVE (4 operations)
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.

### Read Order
- scan operations
- open a leaf doc
- run via run_now or POST /api/dispatch
- open receipt
- repair/replay if needed

### Operations
- **GDRIVE_FILES_SEARCH** — Search Google Drive with a Drive query string; returns id, name, type, modified, link for up to 25 files.
  when: find a sheet, doc or folder by name or type before reading it.
  args: $1 = Drive query, e.g. name contains 'report' · mimeType='application/vnd.google-apps.spreadsheet'
  doc: https://miscsubjects.com/api/dispatch?key=GDRIVE_FILES_SEARCH&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=GDRIVE_FILES_SEARCH&body=trashed%3Dfalse&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=GDRIVE_FILES_SEARCH
- **GDRIVE_FILE_GET** — Metadata for one Drive file by id.
  when: after GDRIVE_FILES_SEARCH, to confirm what a file is before reading it.
  args: $1 = file id
  doc: https://miscsubjects.com/api/dispatch?key=GDRIVE_FILE_GET&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=GDRIVE_FILE_GET&body=1AbC%E2%80%A6&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=GDRIVE_FILE_GET
- **GDRIVE_MCP_SEARCH** — Search Google Drive by natural-language or Drive query (Drive MCP); returns files with ids.
  when: find a sheet, doc or folder before reading it.
  args: $1+ = query
  doc: https://miscsubjects.com/api/dispatch?key=GDRIVE_MCP_SEARCH&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=GDRIVE_MCP_SEARCH&body=airunner&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=GDRIVE_MCP_SEARCH
- **GDRIVE_MCP_READ** — Read a Drive file as text (Drive MCP): Docs, Sheets, PDFs, text.
  when: after GDRIVE_MCP_SEARCH.
  args: $1 = file id
  doc: https://miscsubjects.com/api/dispatch?key=GDRIVE_MCP_READ&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=GDRIVE_MCP_READ&body=1AbC%E2%80%A6&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=GDRIVE_MCP_READ

### Troubleshooting
- If a row's example has placeholders, replace only the placeholder values and preserve separators.
- If a call fails, open its receipt and repair it with POST /api/dispatch {key, body, repairs:'inv_ID'}.
- If token scope denies this system, ask the owner for a row:/rows:/pfx: token scoped to the exact operation set.

Back to the tree: https://miscsubjects.com/api/dispatch?map=1&format=markdown