Ask questions about your property using OBI's AI assistant. Get answers about inventory, maintenance, documents, and more.
| Parameter | Type | Required | Description |
|---|---|---|---|
property_id | string | Yes | UUID of the property to ask about |
question | string | Yes | Your question (1-2000 characters) |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ask_obi",
"arguments": {
"property_id": "550e8400-e29b-41d4-a716-446655440000",
"question": "What appliances do I have in the kitchen?"
}
}
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "{\"answer\":\"Based on your inventory, you have the following appliances in the kitchen:\\n\\n1. **KitchenAid Stand Mixer** (Artisan 5-quart, Empire Red)\\n2. **Samsung French Door Refrigerator** (Model RF28R7551SR)\\n3. **Breville Espresso Machine** (Barista Express)\\n4. **Vitamix Blender** (Professional Series 750)\\n5. **Wolf Gas Range** (36-inch, 6 burners)\\n\\nTotal estimated value: $8,450\",\"sources\":[{\"type\":\"items\",\"name\":\"Home Inventory\"}],\"follow_up_questions\":[\"What's the warranty status on these appliances?\",\"When was the refrigerator purchased?\",\"Are there any appliances that need maintenance?\"]}"
}
]
}
}
{
"answer": "Based on your inventory, you have the following appliances in the kitchen:\n\n1. **KitchenAid Stand Mixer** (Artisan 5-quart, Empire Red)\n2. **Samsung French Door Refrigerator** (Model RF28R7551SR)\n3. **Breville Espresso Machine** (Barista Express)\n4. **Vitamix Blender** (Professional Series 750)\n5. **Wolf Gas Range** (36-inch, 6 burners)\n\nTotal estimated value: $8,450",
"sources": [
{
"type": "items",
"name": "Home Inventory"
}
],
"follow_up_questions": [
"What's the warranty status on these appliances?",
"When was the refrigerator purchased?",
"Are there any appliances that need maintenance?"
]
}
| Field | Type | Description |
|---|---|---|
answer | string | AI-generated answer to your question |
sources | array | Data sources used to generate the answer |
sources[].type | string | Source type (property, location, weather, maintenance, providers, items) |
sources[].name | string | Human-readable source name |
follow_up_questions | array | Suggested follow-up questions |
OBI's AI has access to comprehensive property context:
| Source | Description |
|---|---|
| Property | Address, type, size, systems, features |
| Location | Geographic and neighborhood information |
| Weather | Current conditions and seasonal context |
| Maintenance | Tasks, history, schedules |
| Providers | Service providers and contacts |
| Items | Complete home inventory and equipment |
The sources field in the response indicates which context was used to answer your question.
{
"content": [
{
"type": "text",
"text": "{\"error\": \"Question exceeds maximum length of 2000 characters\"}"
}
],
"isError": true
}
{
"content": [
{
"type": "text",
"text": "{\"error\": \"Property not found or access denied\"}"
}
],
"isError": true
}
{
"content": [
{
"type": "text",
"text": "{\"error\": \"Failed to create chat\"}"
}
],
"isError": true
}