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

@@ -33,6 +33,7 @@ class QueryPluginCapabilitiesTool(MoviePilotTool):
"Scheduled services are periodic tasks that can be triggered via the run_scheduler tool. "
"Optionally specify a plugin_id to query a specific plugin, or omit to query all running plugins."
)
require_admin: bool = True
args_schema: Type[BaseModel] = QueryPluginCapabilitiesInput
def get_tool_message(self, **kwargs) -> Optional[str]: