@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
14 lines (13 loc) • 603 B
TypeScript
/**
* Client-side safe wrapper for sending emails.
*
* This function proxies requests to the Agents Server API endpoint for email queuing,
* making it safe to use in browser environments.
*
* @param args Email payload forwarded to the server-side `send_email` tool
* @param agentsServerUrl The base URL of the agents server (defaults to current origin)
* @returns Result string from the server-side send_email tool
*
* @private internal utility for USE EMAIL commitment
*/
export declare function sendEmailViaBrowser(args: Record<string, unknown>, agentsServerUrl?: string): Promise<string>;