@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 542 B
TypeScript
/**
* Browser-safe wrapper for spawning one persisted Agents Server agent.
*
* This function proxies requests to the Agents Server `/api/spawn-agent` endpoint.
*
* @param args Tool payload forwarded to server-side `spawn_agent` tool.
* @param agentsServerUrl Optional explicit agents server base URL.
* @returns JSON string with structured spawn result.
*
* @private internal utility for USE SPAWN commitment
*/
export declare function spawnAgentViaBrowser(args: Record<string, unknown>, agentsServerUrl?: string): Promise<string>;