encodeResultToString

open override fun encodeResultToString(result: String, serializer: JSONSerializer): String(source)

The model sees the tool's text as is, not as a JSON string literal.