File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,14 @@ ocr = [
4242 " pytesseract>=0.3.10" ,
4343 " pillow>=10.0.0" ,
4444]
45+ sql = [
46+ " duckdb>=1.0.0" ,
47+ ]
4548all = [
4649 " RestrictedPython>=7.0" ,
4750 " pytesseract>=0.3.10" ,
4851 " pillow>=10.0.0" ,
52+ " duckdb>=1.0.0" ,
4953]
5054
5155[build-system ]
Original file line number Diff line number Diff line change 3232from .file_system_toolkits .apply_patch import register_tools as register_apply_patch
3333from .file_system_toolkits .grep_search import register_tools as register_grep_search
3434from .file_system_toolkits .execute_command_tool import register_tools as register_execute_command
35+ from .csv_tool import register_tools as register_csv
3536
3637
3738def register_all_tools (
@@ -69,6 +70,7 @@ def register_all_tools(
6970 register_apply_patch (mcp )
7071 register_grep_search (mcp )
7172 register_execute_command (mcp )
73+ register_csv (mcp )
7274
7375 return [
7476 "example_tool" ,
@@ -83,6 +85,11 @@ def register_all_tools(
8385 "apply_patch" ,
8486 "grep_search" ,
8587 "execute_command_tool" ,
88+ "csv_read" ,
89+ "csv_write" ,
90+ "csv_append" ,
91+ "csv_info" ,
92+ "csv_sql" ,
8693 ]
8794
8895
Original file line number Diff line number Diff line change 1+ """CSV Tool package."""
2+ from .csv_tool import register_tools
3+
4+ __all__ = ["register_tools" ]
You can’t perform that action at this time.
0 commit comments