Ezmcp.client.ask: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/main.bend as Ezmcp Lines 358-367 of ezmcp@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/main.bend&start_line=358&end_line=367 import Base import emerging-ezjson@1.2.0.0/src/value.bend as Value import ezmcp@0.1.0.0/src/rpc.bend as Rpc import ezmcp@0.1.0.0/src/io.bend as Io # POST a request to an MCP endpoint and read its reply, JSON or an event # stream. `version` is the negotiated revision ("" before initialize); the # timeout bounds connecting, sending and receiving def client.ask( url: String, version: String, timeout_ms: U32, msg: Value.Json ) -> IO(Rpc.Reply): Io.client.ask(url, version, timeout_ms, msg) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/value.bend&name=Json https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/io.bend&name=client.ask https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/rpc.bend&name=Reply