sharepoint_read_file
SharePoint · Windows
Effect: read (strongest supported action). Status: gated.
Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.
Windows
Purpose
Reads a text file from a SharePoint document library: `library` from sharepoint_list_files, `file` its path inside it (like Reports/summary.txt). Answers {"file": …, "content": …}.
Required inputs
library— A library's id, from sharepoint_list_filesfile— The file's path inside the library, like Reports/summary.txt
Permissions and confirmation
No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — Windows
{
"properties": {
"account": {
"description": "Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account.",
"type": "string"
},
"file": {
"description": "The file's path inside the library, like Reports/summary.txt",
"type": "string"
},
"library": {
"description": "A library's id, from sharepoint_list_files",
"type": "string"
},
"max_bytes": {
"description": "Read at most this many bytes (default 100000)",
"maximum": 1073741824,
"minimum": 1,
"type": "integer"
}
},
"required": [
"library",
"file"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"file": "Launch plan.docx",
"library": "Documents"
}