remove_library_item
Remove an indexed library item and optionally delete its file from disk.
Instructions
Remove a library item from the Metis index.
Deletes the row from library_seeded. If delete_file=True, also deletes
the actual file from disk (only if path is within PKM root — safety check required).
Args:
relative_path: The relative_path primary key in library_seeded table.
delete_file: If True, also delete the file from disk. Default False.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | ||
| delete_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |