Web.reply: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/web.bend as Web Lines 221-229 of ezmcp@0.1.0.0/src/web.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/web.bend&start_line=221&end_line=229 import Base import emerging-ezhttp@0.21.0.0/src/http.bend as Http # a Web reply as ezhttp's reply (a Later or a Many never reaches here) def reply(wid: Web) -> Http.Reply: # noqa: L001 only src/io.bend calls it (MCP-TRUST-1) match wid: case Now{status, headers, body}: Http.Reply{status, headers, body} case Later{rev, id, name, args}: Http.Reply{500, [], "ezmcp: a tool call was not run"} case Many{rev, acts}: Http.Reply{500, [], "ezmcp: a batch was not run"} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/http.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/web.bend&name=Web