Discover Single File Plugins • AI Agent SDK
discover_single_file_plugins: Discover and load tools from single-file plugins.
discover_single_file_plugins
Method
</div>
This is a method of the ToolRegistry class in the registry module.
Discover and load tools from single-file plugins.
Scans default plugin directories for WordPress-style plugins:
- ./.praisonai/plugins/ (project-level)
- ~/.praisonai/plugins/ (user-level)
Signature
def discover_single_file_plugins() -> intReturns
ResponseField
intNumber of plugins loaded
Uses
discover_and_load_pluginslogging.debuglogging.warning
Source
View on GitHubpraisonaiagents/tools/registry.py at line 547