Skip to content

Commit 481cc03

Browse files
author
Compyle Bot
committed
Auto-commit: Agent tool execution
1 parent ff2eb95 commit 481cc03

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/tools/overview.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
)
1616

1717

18-
async def get_repo_overview(
18+
async def get_overview(
1919
ctx: Context,
2020
data_sources: Optional[list[str]] = None
2121
) -> str:
22-
"""Get high-level overview of repositories including purpose, responsibilities, ubiquitous language, and domain descriptions.
22+
"""Get high-level overview of data sources including purpose, responsibilities, ubiquitous language, and domain descriptions.
2323
24-
This tool retrieves domain-focused information about repositories to help users understand
25-
the business context and vocabulary of codebases. It returns structured information including:
26-
- Purpose: What the repository is for
24+
This tool retrieves domain-focused information about data sources (repositories or workspaces)
25+
to help users understand the business context and vocabulary of codebases. It returns structured
26+
information including:
27+
- Purpose: What the data source is for
2728
- Responsibilities: What it does
2829
- Ubiquitous Language: Domain-specific terminology and concepts
2930
- Domain(s): Business domains covered with their vocabulary
@@ -34,14 +35,14 @@ async def get_repo_overview(
3435
overviews for all available data sources
3536
3637
Returns:
37-
XML formatted string containing repository overviews in markdown format
38+
XML formatted string containing data source overviews in markdown format
3839
3940
Example:
40-
# Get overview for specific repositories
41-
result = await get_repo_overview(ctx, ["my-backend-api", "frontend-app"])
41+
# Get overview for specific data sources
42+
result = await get_overview(ctx, ["my-backend-api", "frontend-app"])
4243
43-
# Get overviews for all repositories
44-
result = await get_repo_overview(ctx)
44+
# Get overviews for all data sources
45+
result = await get_overview(ctx)
4546
4647
# Example output structure:
4748
# <repository_overviews>

0 commit comments

Comments
 (0)