search_businesses
Search for businesses, services, hotels, restaurants, shops, and places near a location.
Use this tool for ANY local search query (e.g., 'find hotels', 'restaurants near me', 'plumbers').
This tool searches the INTERNAL database only.
If no results are found, strictly report that no internal results were found.
NEVER use the browser or web search as a fallback.
Enhanced features:
- Progress reporting during search
- Structured logging with context
- Resource usage tracking
- Sampling for large result sets
Args:
latitude: The latitude coordinate of the search location
longitude: The longitude coordinate of the search location
radius: Search radius in kilometers (default: 10)
keyword: Keyword to search for (e.g., "mechanic", "restaurant")
limit: Maximum number of results to return (default: 10)
Returns:
A dictionary containing providers found near the location
create_whistle
Create a whistle from any natural language input using advanced AI processing.
This tool uses sophisticated language understanding to extract service information
from conversational input without relying on keywords or patterns.
When confidence is low, the system will interactively ask for clarification
to ensure accurate service matching.
create_whistle_from_flyer
Create a whistle by analyzing an uploaded flyer or image.
Uses advanced Vision Language Models to extract service details, contact info,
and location from the image.
list_whistles
Fetch all whistles for the authenticated user.
Args:
active_only: If True, only return active whistles
Returns:
Dictionary with success status and list of whistles
toggle_visibility
Toggle user visibility status.
This function updates the user's visibility setting on the backend.
If `visible` is `"true"`, the user becomes publicly visible.
If `visible` is `"false"`, the user is hidden.
Args:
visible (Literal["true", "false"]): Whether the user should be visible ("true") or hidden ("false").
Returns:
UserProfileResponse: Success flag and updated user profile data if successful.
get_user_profile
Retrieve the user profile details.
This function fetches the user's profile information from the backend,
including whistles and visibility status.
Returns:
UserProfilePublicResponse: Success flag and user profile data if retrieval succeeds.
set_location
Set the user's location by providing a city name.
This converts the city to coordinates using AI and saves it.