onedrive_write_file
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
Writes text content to a file in OneDrive.
Required inputs
path— Absolute path to the file in OneDrivecontent— Text content to write
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 write",
"type": "boolean"
},
"content": {
"description": "Text content to write",
"type": "string"
},
"path": {
"description": "Absolute path to the file in OneDrive",
"type": "string"
}
},
"required": [
"path",
"content"
],
"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,
"content": "Meeting agenda: review the launch checklist.",
"path": "/Users/demo/OneDrive-Demo/Documents/meeting-notes.txt"
}Windows
Purpose
Writes text content to a file in OneDrive.
Required inputs
path— Absolute path to the filecontent— Text content to write
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 to execute the write",
"type": "boolean"
},
"content": {
"description": "Text content to write",
"type": "string"
},
"path": {
"description": "Absolute path to the file",
"type": "string"
}
},
"required": [
"path",
"content"
],
"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,
"content": "Meeting agenda: review the launch checklist.",
"path": "Documents/meeting-notes.txt"
}