Skip to content

API Reference parrot_tools.o365.onedrive

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.o365.onedrive

View source

OneDrive Tools for AI-Parrot.

Tools for interacting with OneDrive:

  • List files in folders
  • Search for files
  • Download files
  • Upload files

Class DeltaOneDriveFilesTool

Tool for tracking changes in a OneDrive.

Wraps the drive-level Microsoft Graph /delta feed: it returns the items that were added, modified, renamed or moved since the supplied cursor, plus tombstones for deleted items, and hands back a new opaque cursor to use on the next round.

The tool is read-only and stateless: it never stores the returned cursor and never downloads file content. Persisting the cursor is the caller's responsibility, and it must only be persisted once every item has been durably processed.

Parameter Type Default Description
*args () Positional arguments forwarded to :class:O365Tool.
delta_helper Optional[DriveDeltaHelper] None Optional pre-configured drive delta helper, useful for tuning retry/backoff bounds or the trusted Graph origins.
strict_folder_scope bool True When True (default), refuse to return results whose folder membership could not be decided under a folder-scoped request, rather than silently widening the scope to the whole drive.
**kwargs {} Keyword arguments forwarded to :class:O365Tool.

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]

Class DownloadOneDriveFileTool

Tool for downloading files from OneDrive.

This tool downloads a specific file from OneDrive to the local filesystem. Can identify files by path or ID.

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]

Class ListOneDriveFilesTool

Tool for listing files in OneDrive.

This tool lists all files in a specified OneDrive location, with options for recursive listing and filtering.

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]

Class SearchOneDriveFilesTool

Tool for searching files in OneDrive.

This tool searches for files in OneDrive by name or content.

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]

Class UploadOneDriveFileTool

Tool for uploading files to OneDrive.

This tool uploads a local file to OneDrive. Supports folder creation and file renaming.

Attributes:

Attribute Type Description
name str
description str
args_schema Type[BaseModel]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally