pub async fn send_tool_result<S>( writer: &mut S, id: &str, name: &str, result: &str, is_error: bool, ) -> Result<()>where S: SinkExt<Message> + Unpin,
Build and send a tool result frame.