{
  "protocolVersion": "1.0",
  "name": "FinKu Personal Finance",
  "description": "A2A agent for FinKu — manage wallets, transactions, budgets, and savings goals on behalf of authenticated users via the FinKu REST API.",
  "version": "0.1.0",
  "documentationUrl": "https://finku.my.id/docs/api.md",
  "provider": {
    "organization": "FinKu",
    "url": "https://finku.my.id"
  },
  "supportedInterfaces": [
    {
      "url": "https://finku.my.id/a2a/v1",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false
  },
  "defaultInputModes": ["text/plain", "application/json"],
  "defaultOutputModes": ["application/json", "text/markdown"],
  "securitySchemes": {
    "oauth2": {
      "type": "oauth2",
      "flows": {
        "authorizationCode": {
          "authorizationUrl": "https://finku.my.id/api/auth/sso/authorize",
          "tokenUrl": "https://finku.my.id/api/auth/sso/token",
          "scopes": {
            "openid": "OpenID Connect",
            "profile": "User profile",
            "email": "Email address"
          }
        }
      }
    }
  },
  "security": [{ "oauth2": ["openid", "profile", "email"] }],
  "skills": [
    {
      "id": "list-wallets",
      "name": "List wallets",
      "description": "Return the authenticated user's wallets and balances.",
      "tags": ["wallets", "finance"],
      "examples": ["Show my wallets", "What accounts do I have?"],
      "inputModes": ["text/plain"],
      "outputModes": ["application/json"]
    },
    {
      "id": "record-transaction",
      "name": "Record a transaction",
      "description": "Create an income or expense transaction in a wallet.",
      "tags": ["transactions", "finance"],
      "examples": ["Log 50k lunch expense", "Record salary deposit"],
      "inputModes": ["text/plain", "application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "dashboard-summary",
      "name": "Dashboard summary",
      "description": "Fetch aggregated financial summary and spending insights.",
      "tags": ["summary", "dashboard"],
      "examples": ["How am I doing this month?", "Show my dashboard"],
      "inputModes": ["text/plain"],
      "outputModes": ["application/json"]
    }
  ]
}
