{
  "$schema": "https://a2aproject.github.io/A2A/specification/agent-card.schema.json",
  "name": "Parliamo Lead Agent",
  "description": "Parliamo's hosted AI chatbot. Captures qualified leads from website visitors using a per-tenant knowledge base, smart triggers, and configurable HTTP custom tools.",
  "url": "https://api.parliamo.dev",
  "version": "1.0.0",
  "documentationUrl": "https://parliamo.dev/llms-full.txt",
  "provider": {
    "organization": "Vicedomini Softworks srl",
    "url": "https://parliamo.dev",
    "contact": "hello@parliamo.dev"
  },
  "iconUrl": "https://parliamo.dev/logo.png",
  "defaultInputModes": ["text/plain", "application/json"],
  "defaultOutputModes": ["text/plain", "application/json", "text/event-stream"],
  "capabilities": {
    "streaming": true,
    "pushNotifications": true,
    "stateTransitionHistory": true
  },
  "securitySchemes": {
    "bearer": {
      "type": "http",
      "scheme": "bearer",
      "description": "API key issued from the Parliamo dashboard. Pass as `Authorization: Bearer <key>`."
    }
  },
  "security": [{ "bearer": [] }],
  "skills": [
    {
      "id": "chat",
      "name": "Chat with tenant chatbot",
      "description": "Stream a chat reply for a Parliamo widget session. Uses the tenant's knowledge base + Custom Tools.",
      "tags": ["chat", "rag", "lead-generation"],
      "examples": [
        "Reply to a website visitor asking about pricing",
        "Suggest the right product based on uploaded catalog"
      ],
      "inputModes": ["text/plain", "application/json"],
      "outputModes": ["text/event-stream"]
    },
    {
      "id": "submit-lead",
      "name": "Submit a qualified lead",
      "description": "Capture a lead with smart qualification fields. Forwards to the tenant via webhook + email.",
      "tags": ["lead-capture", "crm"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "list-leads",
      "name": "List leads",
      "description": "Paginated read of captured leads for a tenant.",
      "tags": ["leads", "crm"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "upload-knowledge",
      "name": "Upload knowledge base document",
      "description": "Add a PDF, FAQ, or catalog to a chatbot's knowledge base. Indexed via embeddings (Gemini) into pgvector.",
      "tags": ["knowledge-base", "rag", "documents"],
      "inputModes": ["application/pdf", "text/plain", "multipart/form-data"],
      "outputModes": ["application/json"]
    },
    {
      "id": "configure-tool",
      "name": "Configure custom tool",
      "description": "Define an HTTP webhook the chatbot can call (check stock, book appointment, look up order).",
      "tags": ["tools", "webhook", "automation"],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    }
  ],
  "supportsAuthenticatedExtendedCard": false
}
