delete_files
Delete up to 500 files by ID in a single batch. Isolates per-ID failures to allow partial success. Returns deleted count, errors, and list of deleted IDs.
Instructions
DESTRUCTIVE batch — delete up to 500 files by ID in one call. Same physical-deletion rules as delete_file (KB files unlinked from disk; project reference files only de-indexed). Per-ID failures isolated to errors[]; the batch keeps going — partial success is the norm. Not idempotent — unknown IDs surface as per-item errors. No external auth or rate limits. Returns {deleted_count, error_count, deleted, errors}. To preview the set before deleting, run list_files with the same filter and confirm the IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | File IDs to delete (max 500 per call) |