onedrive_set_scope
OneDrive · macOS · Windows
Effect: write (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.
macOS
Purpose
Restricts LMCP's OneDrive access to a specific folder. Once set, all OneDrive tools (read, write, list, search, delete, move) only work inside the allowed folder. Pass an empty folder to remove the restriction. Changes take effect immediately.
Required inputs
root_name— OneDrive root name (from onedrive_root, e.g. 'OneDrive-WPPCloud')
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the 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 — macOS
{
"properties": {
"confirm": {
"description": "Must be true to apply",
"type": "boolean"
},
"folder": {
"description": "Allowed folder path relative to the root (e.g. '/000-Claude Personal Agent'). Empty string removes the scope.",
"type": "string"
},
"root_name": {
"description": "OneDrive root name (from onedrive_root, e.g. 'OneDrive-WPPCloud')",
"type": "string"
}
},
"required": [
"root_name"
],
"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.
{
"confirm": false,
"folder": "Documents",
"root_name": "OneDrive-Demo"
}Windows
Purpose
Restricts LMCP's OneDrive access to a specific folder for security.
Required inputs
No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the 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": {
"confirm": {
"description": "Must be true",
"type": "boolean"
},
"folder": {
"description": "Allowed folder path relative to the root. Empty string removes the scope restriction.",
"type": "string"
},
"root_name": {
"description": "OneDrive root name. Accepted for compatibility with the cloud catalog's schema; this server has a single root and ignores it.",
"type": "string"
}
},
"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.
{
"confirm": false,
"folder": "Documents"
}