deregister_directory
Remove a directory registration by collection name, optionally preserving data in LanceDB; get the removed-file count immediately while background purge runs.
Instructions
Remove a directory registration.
Returns the removed-file count synchronously; the chunk purge runs as a background task. An unknown collection surfaces as an error, not a removal confirmation.
Args: collection: Collection name to deregister. keep_data: If true, keep indexed data in LanceDB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_data | No | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |