schema • AI Agent SDK

schema: Get the tool schema, applying dynamic overrides if present.

schema

Method

</div>

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

Get the tool schema, applying dynamic overrides if present.

Signature

python
def schema() -> Dict[str, Any]

Returns

ResponseField Dict[str, Any]

The result of the operation.

Uses

  • get_schema
  • get_tool_schema
  • schema_override
  • logging.warning

Source

View on GitHub

praisonaiagents/tools/registry.py at line 71