Get Rules • AI Agent SDK
get_rules: Get all rules from the default registry.
get_rules
Function
</div>
This function is defined in the doctor_registry module.
Get all rules from the default registry.
Signature
def get_rules() -> List[DoctorContractProtocol]Returns
ResponseField
List[DoctorContractProtocol]The result of the operation.
Uses
get_rulesget_default_registry
Used By
DoctorRulesRegistry.get_ruleDoctorRulesRegistry.collect_all_findingsDoctorRulesRegistry.plan_fixesget_rules
Source
View on GitHubpraisonaiagents/runtime/doctor_registry.py at line 262