index_directory
Index supported files in a directory and report new, changed, unchanged, or failed files. Force re-indexing or run asynchronously for large directories.
Instructions
Index supported files in a directory with diff reporting.
Returns which files are new, changed, unchanged, or failed.
Set force=True to force re-indexing all files.
Set async_index=True for large directories to prevent timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | . | |
| force | No | ||
| limit | No | ||
| pattern | No | **/* | |
| recursive | No | ||
| async_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||