{
  "schema_version": "1",
  "name": "Building Talks",
  "description": "Home systems diagnostic and DIY advisor powered by Al, the Building Doctor — 30 years IUOE stationary engineering, EPA Universal, SFFD Fire Safety Director.",
  "contact": "https://buildingtalks.com/about.html",
  "tools": [
    {
      "name": "ask_al",
      "description": "Ask Al the Building Doctor a question about home repair, building diagnostics, HVAC, plumbing, electrical safety, smoke and CO alarms, water heaters, generators, or DIY build projects. Returns step-by-step guidance with a parts and tool list linked to Amazon.",
      "url": "https://buildingtalks.com/al-advisor",
      "method": "POST",
      "contentType": "application/json",
      "inputSchema": {
        "type": "object",
        "required": ["messages"],
        "properties": {
          "messages": {
            "type": "array",
            "description": "Conversation history. For a single question, pass one message with role 'user'. Maximum 16 messages, 2000 characters each.",
            "minItems": 1,
            "maxItems": 16,
            "items": {
              "type": "object",
              "required": ["role", "text"],
              "properties": {
                "role": {
                  "type": "string",
                  "enum": ["user", "model"],
                  "description": "'user' for the person asking, 'model' for Al's prior replies"
                },
                "text": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Message content"
                }
              }
            }
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "reply": {
            "type": "string",
            "description": "Al's response in Markdown. May include bullet lists, step-by-step procedures, and Amazon affiliate links to recommended parts and tools."
          }
        }
      }
    }
  ]
}
