agent工具增加管理员权限校验:查询站点、查询已安装插件、查询插件能力、查询站点用户数据、刮削元数据

This commit is contained in:
jxxghp
2026-03-30 11:54:48 +08:00
parent 9c51f73a72
commit cbff2fed17
5 changed files with 151 additions and 93 deletions

View File

@@ -26,6 +26,7 @@ class QueryInstalledPluginsTool(MoviePilotTool):
"description, version, author, running state, and other information. "
"Use this tool to discover what plugins are available before querying plugin capabilities or running plugin commands."
)
require_admin: bool = True
args_schema: Type[BaseModel] = QueryInstalledPluginsInput
def get_tool_message(self, **kwargs) -> Optional[str]: