I'm strictly working with magnets so found myself playing with core.add_torrent_magnet. The below works a treat
'{"method": "core.add_torrent_magnet", "params": ["'.$uri.'", {}], "id": 1}');
The torrent is added and all is well but I was wondering if there is also a way to specify the download location with this method ( the {} parameter looks eerily like it may take some data but I could find any documentation

I have tried a combo of "options": {"download_location": "'.$downloadDir.'"} etc but all result in the POST getting rejected.
Cheers if anyone can help