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

python
def get_rule(rule_id: str) -> Optional[DoctorContractProtocol]

Parameters

ParamField str

No description available.

Returns

ResponseField Optional[DoctorContractProtocol]

The result of the operation.

Uses

  • get_rules

Source

View on GitHub

praisonaiagents/runtime/doctor_registry.py at line 49