reactivate_include
Reactivate a travel program extra or included service by providing its ID to restore access and functionality within the LumbreTravel system.
Instructions
Reactivar un extra o incluído
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID del include a reactivar |
Implementation Reference
- src/handlers/tools.handler.ts:1695-1701 (handler)The handler logic in callTool that processes the 'reactivate_include' tool invocation by calling the ApiService method.case 'reactivate_include': { const { id } = args as { id: string } const include = await this.apiService.reactivateInclude(id) return { content: [{ type: 'text', text: JSON.stringify(include, null, 2) }] } }
- Tool schema definition including name, description, and input schema for validation in listTools().{ name: 'reactivate_include', description: 'Reactivar un extra o incluído', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del include a reactivar' } }, required: ['id'] } },
- src/services/api.service.ts:902-910 (helper)Supporting service method in ApiService that performs the actual API call to reactivate an include.async reactivateInclude (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/include/reactivate`, { method: 'PUT', headers, body: JSON.stringify({ id }) }) return await this.handleResponse<any>(response) }