onedrive__create_folder
Access
Requires a project integration connection for onedrive.
Call type: Can change resources.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "onedrive__create_folder",
"arguments": {
"name": "example"
}
}
}Result
No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the onedrive integration reference for provider setup and tool context.
Full schemas
{
"type": "object",
"properties": {
"parentFolderId": {
"type": "string",
"description": "Parent folder item ID, or root"
},
"name": {
"type": "string",
"description": "Folder name"
},
"folder": {
"type": "object",
"description": "Empty folder facet marking the item as a folder"
},
"@microsoft.graph.conflictBehavior": {
"type": "string",
"description": "How to handle name conflicts: rename, replace, or fail"
}
},
"required": [
"name"
],
"description": "Arguments for the onedrive__create_folder tool."
}