Get Rule • AI Agent SDK
get_rule: Get a specific rule by ID.
get_rule
Method
</div>
This is a method of the DoctorRulesRegistry class in the doctor_registry module.
Get a specific rule by ID.
Signature
def get_rule(rule_id: str) -> Optional[DoctorContractProtocol]Parameters
ParamField
strNo description available.
Returns
ResponseField
Optional[DoctorContractProtocol]The result of the operation.
Uses
get_rules
Source
View on GitHubpraisonaiagents/runtime/doctor_registry.py at line 49