index_repo_tool
Index a source repository into the Orihime knowledge graph so all query tools reflect new data. Supports branch tagging and force re-parsing.
Instructions
Index a source repository into the Orihime knowledge graph.
After indexing, all other query tools will reflect the new data.
Args:
repo_path: Absolute path to the repository root on disk.
repo_name: Logical name to identify the repo in queries
(e.g. ``point-bank-bff``).
branch: Branch name to tag this index run with (default: ``"master"``).
Index the same repo under different branch names to compare
branches side-by-side.
force: When True, re-parse every file even if blob hashes are unchanged.
Returns:
Summary dict with counts: ``repos``, ``files``, ``classes``,
``methods``, ``endpoints``, ``rest_calls``, ``call_edges``.
On failure, returns ``{"error": "<message>"}``.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| repo_name | Yes | ||
| branch | No | master | |
| force | No |