def result.json

ezmcp@0.1.0.0 · main.bend:111

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

111# a tool result with structured content, and its JSON text as a text block;
112# a 2025-03-26 client gets the text block alone
113def result.json(val: Value.Json) -> Value.Json:
114  Server.structured(val, False{})

Uses (3)

Used by (0)

No other definition uses this definition.