delete_collection
Delete a codebase index or clean up orphaned collections using a root path or collection ID.
Instructions
Delete index for a codebase.
Args: path: Root path of codebase to remove from index collection_id: Direct collection ID (e.g., "codesearch_abc123") for orphan cleanup
Returns: Confirmation message
Note: Use collection_id to delete orphaned collections that show as "unknown" in list_collections. Either path or collection_id must be provided, but not both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| collection_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |