The Terminal "open" command does not control how you interact with Safari, and cannot direct Safari to create a new tab. However, it can be done with a short Zsh (or Bash) script assigned to a shell as a function, alias, or in this example, a Zsh function that is available to you when you launch the Terminal application.
Put the following code in your newly created ~/.zshenv file. This file is automatically read by Zsh on opening a new Terminal, and the function will then be available for you to run on the Terminal command-line:
~/.zshenv
function new_safari_tab () {
: <<"COMMENT"
Open a specified web address in a new Safari tab. Put this in your
Zsh ~/.zshenv file so the function is available in the Terminal when
the Terminal application is launched.
Usage: new_safari_tab urlstring
Example: new_safari_tab http://www.apple.com
COMMENT
/usr/bin/osascript <<AS
use scripting additions
tell application "Safari"
activate
set myURL to "${1}" as text
if not myURL = "" then
tell front window
set current tab to (make new tab with properties {URL:myURL})
end tell
else
return
end if
end tell
AS
return
}
Once you have added this in the ~/.zshenv file, you can make it immediately active by:
source ~/.zshenv
And, to open a new browser tab in Safari, you run the function in the Terminal as:
new_safari_tab https://www.google.com
Tested in macOS 11.5.2 on an M1 mini.