package tech.easyflow.ai.service;

import com.mybatisflex.core.service.IService;
import tech.easyflow.ai.entity.BotPlugin;
import tech.easyflow.ai.entity.Plugin;

import java.math.BigInteger;
import java.util.List;

/**
 *  服务层。
 *
 * @author michael
 * @since 2025-04-07
 */
public interface BotPluginService extends IService<BotPlugin> {

    List<Plugin> getList(String botId);

    boolean doRemove(String botId, String pluginId);

    List<BigInteger> getBotPluginToolIds(String botId);

    void saveBotAndPluginTool(BigInteger botId, BigInteger[] pluginToolIds);
}
