delete_service_language
Remove a service language from the LumbreTravel MCP Server by specifying its ID to manage multilingual content for travel programs and activities.
Instructions
Eliminar un idioma de servicio.
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": "delete_service_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID del idioma de servicio a eliminar |
Implementation Reference
- src/handlers/tools.handler.ts:994-1001 (registration)Registration of the 'delete_service_language' tool including its name, description, and input schema in the listTools method.
{ name: 'delete_service_language', description: 'Eliminar un idioma de servicio.', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del idioma de servicio a eliminar' } }, required: ['id'] } - Input schema definition for the 'delete_service_language' tool.
inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID del idioma de servicio a eliminar' } }, required: ['id'] } - src/handlers/tools.handler.ts:1727-1733 (handler)Execution handler for the 'delete_service_language' tool in the callTool switch statement, which invokes the ApiService method.
case 'delete_service_language': { const { id } = args as { id: string } const serviceLanguage = await this.apiService.deleteServiceLanguage(id) return { content: [{ type: 'text', text: JSON.stringify(serviceLanguage, null, 2) }] } } - src/services/api.service.ts:581-587 (helper)Supporting ApiService method that performs the HTTP DELETE request to the backend API to delete a service language by ID.
async deleteServiceLanguage (id: string) { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/servicelanguage/delete/${id}`, { method: 'DELETE', headers }) return await this.handleResponse<any>(response)