onedrive_get_file_content
Downloads and returns the text content of a OneDrive file. Best suited for plain-text formats: .txt, .csv, .json, .xml, .md. Large files are automatically truncated. Get the item_id from onedrive_list_items, onedrive_search_files, or onedrive_list_recent.
Parameters
Returns
An object with:
content — the extracted text
truncated — true if the file was cut off at max_chars
length — the number of characters returned
If truncated is true, only a portion of the file was returned. Increase max_chars (up to 25,000) or use onedrive_search_files to locate a more targeted excerpt.
Example use
“Read the contents of the project plan CSV in my OneDrive.”