It accepts network as the value but the completion help is showing ip address
vyos@vyos# set vpn ipsec site-to-site peer x.x.x.x tunnel x local prefix
Possible completions:
<x.x.x.x> Local IPv4 prefix
<h:h:h:h:h:h:h:h>
Local IPv6 prefix