MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_agent_tool_names

Method test_agent_tool_names

tests/test_query.py:24–29  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

22 assert len(agent.tools) == 3
23
24 def test_agent_tool_names(self, tmp_path):
25 agent = build_query_agent(str(tmp_path), "gpt-4o-mini")
26 names = {t.name for t in agent.tools}
27 assert "read_file" in names
28 assert "get_page_content" in names
29 assert "get_image" in names
30
31 def test_instructions_mention_get_page_content(self, tmp_path):
32 agent = build_query_agent(str(tmp_path), "gpt-4o-mini")

Callers

nothing calls this directly

Calls 1

build_query_agentFunction · 0.90

Tested by

no test coverage detected