Takeoff's alleged murderer, Patrick Xavier Clark, is asking a judge for money ... because he says he can't afford a private investigator, but needs one to build his defense.
According to legal docs, obtained by TMZ, Clark's asking for an initial sum of $5,000 to hire a P.I. ... adding he's financially unable to cover the costs on his own.
The docs say Clark's family has already spent all its money on his attorney who agreed to work at a reduced rate for him. He says it's necessary to add a private investigator to his defense in order to "properly investigate [Clark's] case and to prepare effectively for trial."
Clark says he's already identified a P.I. who will work on the case for the reduced rate of $85/hour.
As we reported, Houston PD announced last week Clark had been arrested and charged with the murder of the rapper. He's currently being held on a $2 million bond.
The docs say Clark will be put under house arrest if released ... and he'll be prohibited from possessing firearms or any deadly weapons, and must refrain from using marijuana or any controlled substance without a prescription.
He'd also be barred from speaking with specific people like Takeoff's family, J. Prince Jr. and boxing star Shakur Stevenson ... who was standing inches away from Takeoff moments before the fatal shooting.