ShellTools
object ShellTools
Factory for the shell-based tool set. Backend modules (:droid-mcp-shizuku, :droid-mcp-root) call all with their concrete ShellBackend and expose the resulting list under a module-specific provider (ShizukuTools, RootTools).
The LLM-facing tool names are identical regardless of backend — the host app picks which backend module to depend on at startup.
Functions
Link copied to clipboard
fun all(context: Context, shell: ShellBackend, policy: ShellPolicy = ShellPolicy.RECOMMENDED): List<McpTool>
The full shell-tool set (17 tools), wired against shell.