cleanup_stale_references
Remove stale file references from the vector store by identifying and deleting documents that point to nonexistent files.
Instructions
Manually trigger cleanup of stale file references in the vector store. Removes documents that reference files that no longer exist on the filesystem.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_stale_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | ||
| message | Yes | ||
| stale_paths | Yes | ||
| removed_documents | Yes |