Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix(tools): mark core query tools as repeatable to prevent silent dedup

Marnie041553d790a3975a
diff --git a/agent/src/tools/get_fundamentals_tool.py b/agent/src/tools/get_fundamentals_tool.py
index ca2bda35c..e98e54926 100644
--- a/agent/src/tools/get_fundamentals_tool.py
+++ b/agent/src/tools/get_fundamentals_tool.py
@@ -114,6 +114,7 @@ class GetFundamentalsTool(BaseTool):
},
"required": ["symbols", "fields", "start", "end"],
}
+ repeatable = True
def execute(self, **kwargs: Any) -> str:
"""Validate inputs, call the loader, and return a JSON envelope.
diff --git a/agent/src/tools/market_data_tool.py b/agent/src/tools/market_data_tool.py
index 62611ed6c..4c74a5e90 100644
--- a/agent/src/tools/market_data_tool.py
+++ b/agent/src/tools/market_data_tool.py
@@ -76,6 +76,7 @@ class MarketDataTool(BaseTool):
},
"required": ["codes", "start_date", "end_date"],
}
+ repeatable = True
def execute(self, **kwargs: Any) -> str:
return fetch_market_data_json(
diff --git a/agent/src/tools/market_screener_tool.py b/agent/src/tools/market_screener_tool.py
index c1adc42f5..66a1b9a8e 100644
--- a/agent/src/tools/market_screener_tool.py
+++ b/agent/src/tools/market_screener_tool.py
@@ -208,6 +208,7 @@ class MarketScreenerTool(BaseTool):
},
"required": ["market"],
}
+ repeatable = True
def execute(self, **kwargs: Any) -> str:
"""Validate inputs, screen the market, and return a JSON envelope.
diff --git a/agent/src/tools/symbol_search_tool.py b/agent/src/tools/symbol_search_tool.py
index 5fa7a9336..ab76cb288 100644
--- a/agent/src/tools/symbol_search_tool.py
+++ b/agent/src/tools/symbol_search_tool.py
@@ -101,6 +101,7 @@ class SymbolSearchTool(BaseTool):
},
"required": ["query"],
}
+ repeatable = True
def execute(self, **kwargs: Any) -> str:
"""Fan out across providers and return a merged candidate envelope.