def result

ezmcp@0.1.0.0 · main.bend:98

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/server.bend as Server

98# a tool result from content blocks; is_error flags a tool that failed, so
99# the model sees the failure (server/tools#error-handling)
100def result(blocks: List<&2, Value.Json>, is_error: Bool) -> Value.Json:  # noqa: L001 re-export of Server.result
101  Server.result(blocks, is_error)

Uses (4)

Used by (0)

No other definition uses this definition.