plan_vacation
Plan your trip by initiating a structured vacation planning process with TripAdvisor data for locations, attractions, restaurants, and hotels.
Instructions
Initiates the vacation planning process using the structured prompt.
This should be used whenever a user wants to plan a trip or vacation.
Returns:
A message confirming the vacation planning process has started
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_vacation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:174-187 (handler)The main handler function for the 'plan_vacation' tool. Decorated with @mcp.tool() which registers the tool with the name derived from the function name. The function returns a JSON message to initiate the vacation planning process using a structured prompt.
@mcp.tool() async def plan_vacation() -> str: """ Initiates the vacation planning process using the structured prompt. This should be used whenever a user wants to plan a trip or vacation. Returns: A message confirming the vacation planning process has started """ # This tool doesn't need to return data, just trigger the prompt return json.dumps({ "message": "Vacation planning process initiated. Please follow the structured prompt to create a personalized itinerary." })