rebuild_metadata_index
Scan SQL configs and Java files to rebuild metadata index after adding new files or updating annotations. Ensures accurate search results for trade surveillance workflows.
Instructions
Rebuild the metadata index by scanning all SQL configs and Java files.
Use this tool when you've added new files or updated metadata annotations.
The index is automatically built on first search, but you can manually rebuild
it with this tool.
Args:
config_directory: Path to the directory containing SQL config files
code_directory: Path to the directory containing Java source files
Returns:
A summary of the indexing operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_directory | No | ./configs | |
| code_directory | No | ./src |
Input Schema (JSON Schema)
{
"properties": {
"code_directory": {
"default": "./src",
"title": "Code Directory",
"type": "string"
},
"config_directory": {
"default": "./configs",
"title": "Config Directory",
"type": "string"
}
},
"type": "object"
}