Get Trust Level • AI Agent SDK

get_trust_level: Get the trust level for a tool.

get_trust_level

Method

</div>

This is a method of the ToolRegistry class in the registry module.

Get the trust level for a tool.

Signature

python
def get_trust_level(name: str) -> Optional[str]

Parameters

ParamField str

Tool name

Returns

ResponseField Optional[str]

Trust level string or None if not set

Source

View on GitHub

praisonaiagents/tools/registry.py at line 568