asText
Casts this ToolResultContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the ToolResultContentBlock is not a Text.
Casts this ToolResultContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the ToolResultContentBlock is not a Text.