MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / test_parse_tool_call_embedded_json

Function test_parse_tool_call_embedded_json

src/agent/tests/test_runner.py:619–622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

617
618
619def test_parse_tool_call_embedded_json():
620 raw = 'Here is my response: {"tool": "sites", "args": {}} done.'
621 result = _parse_tool_call(raw)
622 assert result["tool"] == "sites"
623
624
625def test_parse_tool_call_unrecoverable_returns_direct_answer():

Callers

nothing calls this directly

Calls 1

_parse_tool_callFunction · 0.90

Tested by

no test coverage detected