Canonical Definition
{
"function": {
"description": "Query a connected app's database via Memento to retrieve REAL data. Use this when the user asks about providers, services, clients, pricing, or any business data. Available apps: movilo (healthcare providers). ALWAYS use this instead of making up information.",
"name": "memento_query",
"parameters": {
"properties": {
"app": {
"description": "The app slug to query, e.g. 'movilo'",
"type": "string"
},
"query": {
"description": "A SQL SELECT query to run against the app's database. Available tables for movilo: movilo_providers (company_name, contact_name, provider_type, status, city), movilo_provider_services (name, original_price, movilo_price, discount_percentage, category), movilo_provider_locations (name, city, address, modality, schedule). ONLY SELECT queries allowed.",
"type": "string"
}
},
"required": [
"app",
"query"
],
"type": "object"
}
},
"type": "function"
}