If you are not already storing all connected peers on the server you can use get_network_connected_peers()
to get the IDs and use
rpc_id(<peer_id>,"function_name", <optional_args>)
Or
rpc_unreliable_id(<peer_id>, "function_name", <optional_args>)
It is all very well documented here