def ok

ezmcp@0.1.0.0 · main.bend:72

import ezmcp@0.1.0.0/main.bend as Ezmcp
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

72# a runner's answer for a tool that ran: its tool result, which may itself
73# report a failure with `isError` (`result.error`)
74def ok(result: Value.Json) -> Rpc.Out:  # noqa: L001 the Rpc.Ok constructor
75  Rpc.Ok{result}

Uses (2)

Used by (0)

No other definition uses this definition.