MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / plain_text_tool_failure

Function plain_text_tool_failure

src/mcp/server.rs:550–552  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

548}
549
550fn plain_text_tool_failure(text: &str) -> bool {
551 text.starts_with("git error:") || text.starts_with("git diff failed:")
552}
553
554fn mark_semantic_tool_error(value: &mut Value) {
555 if !tool_result_has_semantic_error(value) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected