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

Function json_rpc_request_id_string

src/mcp/server.rs:2949–2955  ·  view source on GitHub ↗
(id: &Value)

Source from the content-addressed store, hash-verified

2947}
2948
2949fn json_rpc_request_id_string(id: &Value) -> Option<String> {
2950 match id {
2951 Value::String(id) => Some(id.clone()),
2952 Value::Number(id) => Some(id.to_string()),
2953 _ => None,
2954 }
2955}
2956/// D7 (staleness UX) + D1/D4 (startup catch-up + sync-on-read) behavioural
2957/// tests. The pure-logic banner tests need no server; the server tests build
2958/// a real indexed `TraceDecay` over a temp git repo, mirroring the

Callers 1

handle_tools_callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected