process_launch
Launch eTalent recruitment processes on the Evaluar platform by providing a process ID after assigning a position, returning a summary URL for tracking.
Instructions
Launch an eTalent process. The process must have a position assigned first. Returns the summary URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processId | Yes | The ID of the process to launch |
Implementation Reference
- src/tools/process.ts:128-150 (handler)The handler function that executes the logic to launch an eTalent process by calling launchProcess.
export async function handleProcessLaunch(args: { processId: string }): Promise<string> { if (!isAuthenticated()) { return JSON.stringify({ success: false, error: "Not authenticated. Please login first using auth_login.", }); } try { const summaryUrl = await launchProcess(args.processId); return JSON.stringify({ success: true, processId: args.processId, summaryUrl, message: "Process launched successfully!", }); } catch (error) { return JSON.stringify({ success: false, error: error instanceof Error ? error.message : "Unknown error", }); } } - src/tools/process.ts:113-126 (schema)The tool definition (schema) for process_launch, specifying the name, description, and input parameters.
export const processLaunchTool = { name: "process_launch", description: "Launch an eTalent process. The process must have a position assigned first. Returns the summary URL.", inputSchema: { type: "object" as const, properties: { processId: { type: "string", description: "The ID of the process to launch", }, }, required: ["processId"], }, };