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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "reactivate_include"
}
}Input 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) }