ShellTools

object ShellTools

Factory for the shell-based tool set. Backend-modules (:droid-mcp-shizuku, eventually :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): List<McpTool>

The full 0.8.0 shell-tool set, wired against shell.

Link copied to clipboard

Tool names — useful for supportedTools(context) projections in downstream providers that need the canonical name set.