Skip to content

API Reference parrot_tools.o365.sharepoint

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

parrot_tools.o365.sharepoint

View source

SharePoint Tools for AI-Parrot.

Tools for interacting with SharePoint document libraries:

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

Class DeltaSharePointFilesTool

Tool for tracking changes in a SharePoint document library.

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 DownloadSharePointFileTool

Tool for downloading files from SharePoint.

This tool downloads a specific file from SharePoint to the local filesystem.

Attributes:

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

Class ListSharePointFilesTool

Tool for listing files in SharePoint document libraries.

This tool lists all files in a specified SharePoint location, with options for recursive listing and filtering by file type.

Attributes:

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

Class SearchSharePointFilesTool

Tool for searching files in SharePoint.

This tool searches for files in SharePoint by name, content, or metadata. Supports filtering by file type and location.

Attributes:

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

Class UploadSharePointFileTool

Tool for uploading files to SharePoint.

This tool uploads a local file to a SharePoint document library. 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