You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/codegen/extensions/mcp/codebase_tools.py
+7-11Lines changed: 7 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@
10
10
11
11
mcp=FastMCP(
12
12
"codebase-tools-mcp",
13
-
instructions="Use this server to access any information from your codebase. This tool can provide information ranging from AST Symbol details and information from across the codebase. Use this tool for all questions, queries regarding your codebase.",
13
+
instructions="""Use this server to access any information from your codebase. This tool can provide information ranging from AST Symbol details and information from across the codebase.
14
+
Use this tool for all questions, queries regarding your codebase.""",
14
15
)
15
16
16
17
@@ -20,21 +21,16 @@ def reveal_symbol_tool(
20
21
target_file: Annotated[Optional[str], "The file path of the file containing the symbol to inspect"],
21
22
codebase_dir: Annotated[str, "The root directory of your codebase"],
22
23
codebase_language: Annotated[ProgrammingLanguage, "The language the codebase is written in"],
23
-
degree: Annotated[Optional[int], "depth do which symbol information is retrieved"],
24
+
max_depth: Annotated[Optional[int], "depth up to which symbol information is retrieved"],
24
25
collect_dependencies: Annotated[Optional[bool], "includes dependencies of symbol"],
25
26
collect_usages: Annotated[Optional[bool], "includes usages of symbol"],
0 commit comments