error
fun CallToolResult.error(content: String, meta: JsonObject = EmptyJsonObject): CallToolResult(source)
Deprecated
Use `CallToolResult.error` instead
Replace with
CallToolResult.Companion.errorContent copied to clipboard
Creates a CallToolResult with single TextContent and meta, with isError being true.