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

Function test_parse_tool_call_null_tool

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

Source from the content-addressed store, hash-verified

610
611
612def test_parse_tool_call_null_tool():
613 raw = '{"tool": null, "answer": "42"}'
614 result = _parse_tool_call(raw)
615 assert result["tool"] is None
616 assert result["answer"] == "42"
617
618
619def test_parse_tool_call_embedded_json():

Callers

nothing calls this directly

Calls 1

_parse_tool_callFunction · 0.90

Tested by

no test coverage detected