UNPKG

@salesforce/agents

Version:

Client side APIs for working with Salesforce agents

13 lines (12 loc) 598 B
import type { ExtendedAgentJobSpec } from '../types'; /** * Generates an agent script template string * * Note: This template generates agentscript using the "subagent" keyword. * The compilation API supports both "topic" and "subagent" keywords for backward compatibility. * * @param bundleApiName - The API name of the bundle * @param agentSpec - Optional agent specification with developer name, name, role, and topics * @returns The generated agent script template string */ export declare function generateAgentScript(bundleApiName: string, agentSpec?: ExtendedAgentJobSpec): string;