If you work with an AI assistant that speaks the Model Context Protocol (MCP), such as Claude or ChatGPT, you can connect it to your account. You approve the connection on a page of the web app and choose whether it may only read, or also create and change files.
What it removes goes to your trash, and a file it rewrites keeps its earlier versions. Your activity shows which changes came through it, and Settings → Connected apps disconnects it at once.
Read the whole story in Connect your own AI assistant to your files, without handing over a password, or the steps in the help center: connect an AI assistant. Whether assistants can connect is decided by the operator of the service.