Get Rules • AI Agent SDK
get_rules: Get all registered rules, loading plugins if not already loaded.
get_rules
Method
</div>
This is a method of the DoctorRulesRegistry class in the doctor_registry module.
Get all registered rules, loading plugins if not already loaded.
Signature
def get_rules() -> List[DoctorContractProtocol]Returns
ResponseField
List[DoctorContractProtocol]The result of the operation.
Used By
DoctorRulesRegistry.get_ruleDoctorRulesRegistry.collect_all_findingsDoctorRulesRegistry.plan_fixesget_rules
Source
View on GitHubpraisonaiagents/runtime/doctor_registry.py at line 40