Washington (CNN) President Donald Trump signaled Friday he is open to directing the FBI to investigate allegations leveled against Supreme Court nominee Judge Brett Kavanaugh if the Senate Judiciary Committee believes it is necessary.

"They have to do what they think is right. They have to be comfortable with themselves," Trump said of the Senate Judiciary Committee. "That'll be a decision that they're going to have to make. ... Whatever they think is necessary is OK."

Trump was reacting on the fly from the White House to news that Arizona Republican Sen. Jeff Flake, a key swing vote on Kavanaugh's nomination, was demanding a week-long FBI investigation before a vote is held on the Senate floor to confirm Kavanaugh.

But Trump made clear he had been meeting with the Chilean president and did not yet have all the information about the discussions on Capitol Hill.

"I'm just hearing a little bit about it," Trump said. "I just want it to work out well for the country. If that happens, I'm very happy."

Read More