/** * Invoke a tool registered on the *running* OpenClaw gateway via its * `tools.invoke` RPC (over `openclaw gateway call`), without starting, * stopping, or restarting the gateway process itself. * * Used by `up`/`down` to start/stop skill-level background work (e.g. the * Jarvis voice loop) that would otherwise only toggle via `autoStart` on * gateway boot - which doesn't help once the gateway is a persistent host * service that `agenticros down` intentionally leaves running. */ export declare function isGatewayActive(): Promise; export interface InvokeGatewayToolResult { ok: boolean; message?: string; } /** * Call `tools.invoke` for `name` with `args` against the live gateway. * Returns `{ ok: false }` quietly (no throw) if the gateway isn't running or * has no auth token on file - callers should already have checked * `isGatewayActive()` when they want to skip attempting this entirely. */ export declare function invokeGatewayTool(name: string, args?: Record): Promise; //# sourceMappingURL=gateway-tools.d.ts.map