OneDrive Root
onedrive_rootLists all mounted OneDrive directories on this Mac. Start here for OneDrive — the mount paths it returns are what the other onedrive_* tools (onedrive_list_files, onedrive_read_file, onedrive_search_files) need. Each entry's permissions carries only the permissions this service has (read, send, write; a key that is missing does not apply). true: allowed in the account's boxes (LMCP's icon → My apps → open the app's row → the account's Read · Send · Write) and the item accepts it. false: turned off there, or the item is read-only (read_only: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | No | ||
| reason | No | Only when roots is empty: cloudstorage_unreadable, no_cloud_folders or only_other_providers. | |
| message | No | Only when roots is empty: why, and what to do. | |
| other_providers | No | Only when roots is empty: the cloud providers that do have a folder on this Mac. |