> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gc.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Detach files from project

> Unlink files from a project.

<Info>
  **Tool** `detach_from_project` · **Behavior** Destructive
</Info>

Unlink files from a project. Membership is a separate edge, not a field on the project. Idempotent at the membership level: detaching a file that is not linked leaves membership unchanged and is safe to retry. This removes the project link only; the file itself is not deleted.

## Input parameters

<ParamField body="project_id" type="string (uuid)" required>
  Project to unlink the files from. You must have edit access.
</ParamField>

<ParamField body="file_ids" type="string (uuid)[]" required>
  File ids to unlink from the project (1-50).
</ParamField>

## Response

<ResponseField name="project_id" type="string (uuid)" />

<ResponseField name="detached" type="string (uuid)[]">
  Files unlinked from the project.
</ResponseField>
