Build it
What do you want OpenAI and OneDrive to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with OpenAI and OneDrive
Triggers and actions 14 triggers · 94 actions
Trigger
New batchList your organization's batches.
Trigger
New fileReturns a list of files.
Trigger
New modelLists the currently available models.
Trigger
New vector storeReturns a list of vector stores.
Trigger
New videoList recently generated videos for the current project.
Action
Cancel batchCancels an in-progress batch.
Action
Cancel runCancels a run that is in_progress.
Action
Cancel vector store file batchCancel a vector store file batch.
Action
Content moderationClassifies text for hate, harassment, self-harm, sexual, and violence categories using the Moderations API.
Action
Count input tokensReturns input token counts of the request.
Action
Create assistantCreate an assistant with a model and instructions.
Action
Create chat completionSends a list of chat messages to a model via the Chat Completions API and returns the assistant's reply.
Action
Create completionCreates a completion for the provided prompt and parameters.
Action
Create embeddingGenerates a vector embedding for input text using an embeddings model (e.g. text-embedding-3-small).
Action
Create messageCreate a message.
Action
Create runCreate a run.
Action
Creates and executes a batch from an uploaded file of requestsCreates and executes a batch from an uploaded file of requests
Action
Create threadCreate a thread.
Action
Create thread and runCreate a thread and run it in one request.
Action
Create vector storeCreate a vector store.
Action
Create vector store fileCreate a vector store file by attaching a File to a vector store.
Action
Create vector store file batchCreate a vector store file batch.
Action
Create video edit jobCreate a new video generation job by editing a source or existing generated video.
Action
Create video extensionCreate an extension of a completed video.
Action
Create video generation jobCreate a new video generation job from a prompt and optional reference assets.
Action
Create video remixCreate a remix of a completed video using a refreshed prompt.
Action
Delete assistantDelete an assistant.
Action
Delete eval runDelete an eval run.
Action
Delete fileDelete a file and remove it from all vector stores.
Action
Delete messageDeletes a message.
Action
Delete threadDelete a thread.
Action
Delete vector storeDelete a vector store.
Action
Delete vector store fileDelete a vector store file (removes from store, file itself not deleted).
Action
Delete videoPermanently delete a completed or failed video and its stored assets.
Action
Download video contentDownload the generated video bytes or a derived preview asset.
Action
Edit imageCreates an edited or extended image given one or more source images and a prompt.
Action
Generate imageGenerates an image from a text prompt using gpt-image-1 / DALL-E and returns the image URL or base64 data.
Action
Generate speechConverts text into spoken audio using a TTS model and the selected voice. Returns audio bytes.
Action
Get assistantRetrieves an assistant.
Action
Get batchRetrieves a batch.
Action
Get fileReturns information about a specific file.
Action
Get file contentReturns the contents of the specified file.
Action
Get messageRetrieve a message.
Action
Get modelRetrieves a model instance.
Action
Get runRetrieves a run.
Action
Get run stepRetrieves a run step.
Action
Get threadRetrieves a thread.
Action
Get vector storeRetrieves a vector store.
Action
Get vector store fileRetrieves a vector store file.
Action
Get vector store file batchRetrieves a vector store file batch.
Action
Get vector store file contentRetrieve the parsed contents of a vector store file.
Action
Get videoFetch the latest metadata for a generated video.
Action
List conversation itemsList all items for a conversation with the given ID.
Action
List filesLists files that have been uploaded to your OpenAI account.
Action
List messagesReturns a list of messages for a given thread.
Action
List modelsLists the models currently available to your account.
Action
List runsReturns a list of runs belonging to a thread.
Action
List run stepsReturns a list of run steps belonging to a run.
Action
List vector store file batch filesReturns a list of vector store files in a batch.
Action
List vector store filesReturns a list of vector store files.
Action
OpenAI agent messageRuns one AI agent turn on OpenAI and returns the model's reply. The turn is billed to the OpenAI account connected on this step, and the agent can call the account's AI tool automations.
Action
Retrieve responseRetrieves a previously created model response by its Response ID.
Action
Search vector storeSearch a vector store for relevant chunks based on a query and filter.
Action
Send model a messageSends a message to an OpenAI model via the Responses API and emits its response. Returns a Response ID usable as previous_response_id for multi-turn conversations.
Action
Submit tool outputs to runSubmit tool outputs when a run requires action.
Action
Transcribe audioTranscribes audio into the input language.
Action
Translate audioTranslates audio into English.
Action
Update assistantModifies an assistant.
Action
Update messageModifies a message.
Action
Update runModifies a run.
Action
Update threadModifies a thread.
Action
Update vector storeModifies a vector store.
Action
Update vector store file attributesUpdate attributes on a vector store file.
Action
Upload fileUpload a file that can be used across various endpoints.
Trigger
File UpdatedTrigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Trigger
Item Moved or RenamedTriggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
Trigger
New Version CreatedTrigger that fires when a new version of a specified OneDrive file is created.
Trigger
OnedrivebasetriggerBase trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Trigger
OneDrive File Created TriggerTriggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Folder Created TriggerTriggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Item Deleted TriggerTriggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Trigger
OneDrive Item Updated TriggerTriggers when an existing file or folder is modified in OneDrive. Uses Gmail-style state management and only detects actual modifications, not new creations.
Trigger
Sharing Permission Added or RemovedSharing Permission Added or Removed
Action
Copy ItemTool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy progress.
Action
Create LinkTool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.
Action
Delete ItemTool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.
Action
Download FileDownloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.
Action
Get DriveRetrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.
Action
Get ItemRetrieves the metadata of a driveitem by its unique id. use this tool to get information about a specific file or folder in onedrive when you have its id. if a `drive id` is not provided, it defaults to the user's main drive.
Action
Get Item PermissionsRetrieves the permissions of a driveitem by its unique id or path within a specific drive. use when you need to check who has access to a file or folder and what level of access they have.
Action
Get Item ThumbnailsTool to retrieve the thumbnails associated with a driveitem. use when you need to display visual previews of files.
Action
Get Item VersionsTool to retrieve the version history of a driveitem by its unique id. use when you need to access or list previous versions of a file.
Action
Get QuotaTool to retrieve the quota information for the authenticated user's onedrive. use this action to check the storage space details like total, used, and remaining space on the user's onedrive.
Action
Get Recent ItemsRetrieves a list of items that have been recently used by the authenticated user. this tool is useful when you need to access or display files and folders that the user has interacted with recently across their onedrive and accessible shared drives.
Action
Get Shared ItemsTool to retrieve a list of items that have been shared with the authenticated user. use this action to get details of files and folders shared with the current user.
Action
List Drive Item ActivitiesTool to list recent activities for a specific item in a onedrive drive. use when you need to track changes or actions performed on a file or folder.
Action
List DrivesTool to retrieve a list of drive resources available to the authenticated user, or for a specific user, group, or site. use when you need to find out what drives are accessible.
Action
List Root Drive ChangesTool to list changes in the root of the user's primary drive using a delta token. use when you need to track file and folder modifications, additions, or deletions in the main onedrive directory.
Action
List SubscriptionsTool to list the current subscriptions for the authenticated user or app. use this to retrieve details of existing webhook subscriptions.
Action
Move ItemTool to move a file or folder to a new parent folder in onedrive. use when you need to reorganize your files or folders by changing their location. you can optionally rename the item during the move.
Action
Onedrive Create FolderCreates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.
Action
Onedrive Create Text FileCreates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.
Action
Onedrive Find FileNon-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.
Action
Onedrive Find FolderFinds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.
Action
Onedrive List ItemsRetrieves all files and folders as `driveitem` resources from the root of a specified user's onedrive, automatically handling pagination.
Action
Preview Drive ItemGenerates or retrieves a short-lived embeddable url for a preview of a specific item. use when you need to display a temporary preview of a file.
Action
Search ItemsSearches for driveitems in onedrive that match the specified query. use this to find files or folders based on keywords.
Action
Update Drive Item MetadataTool to update the metadata of a specific item (file or folder) in onedrive. use this to rename items, change descriptions, or move items to a new parent folder.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.