MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_tool_result_to_string_empty

Function test_tool_result_to_string_empty

core/src/mcp/manager.rs:622–629  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

620
621 #[test]
622 fn test_tool_result_to_string_empty() {
623 let result = CallToolResult {
624 content: vec![],
625 is_error: false,
626 };
627 let output = tool_result_to_string(&result);
628 assert_eq!(output, "");
629 }
630
631 #[test]
632 fn test_tool_result_to_string_image() {

Callers

nothing calls this directly

Calls 1

tool_result_to_stringFunction · 0.85

Tested by

no test coverage detected