> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Onedrive get file content

> Fetch the text content of a OneDrive file. Only text-like files (text/*, json, xml, javascript) are supported. PDFs, Office docs, and binary formats…

`onedrive_get_file_content`

Fetch the text content of a OneDrive file. Only text-like files (text/\*, json, xml, javascript) are supported. PDFs, Office docs, and binary formats return an error. Content is truncated to 15 KB.

## Parameters

<ParamField path="id" type="string" required>
  OneDrive item id.
</ParamField>
