{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "catcapital",
  "version": "1.2.0",
  "description": "Research stocks, funds and SEC filings, browse the research catalog, and query tables with a linked CatCapital account. Track holdings, manage watchlists and price alerts, and place simulated orders.",
  "author": {
    "name": "CatCapital GmbH",
    "email": "support@catcapital.ai",
    "url": "https://catcapital.ai"
  },
  "homepage": "https://catcapital.ai",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "CatCapital",
        "shortDescription": "Stock research and demo trades",
        "longDescription": "Find stocks and funds, compare peers, and search market news, asset events and SEC filings. Browse research tables and their columns without signing in. Link your CatCapital account to run read-only SQL queries on those tables, view portfolio positions, and manage watchlists and price alerts. In your demo account, you can review executions and create, modify or cancel simulated orders.",
        "developerName": "CatCapital GmbH",
        "category": "Finance",
        "websiteURL": "https://catcapital.ai",
        "supportURL": "https://catcapital.ai/#contact",
        "privacyPolicyURL": "https://catcapital.ai/legal/#privacypolicy",
        "termsOfServiceURL": "https://catcapital.ai/legal/#termsandconditions",
        "defaultPrompt": [
          "Find passages in SEC filings about semiconductor supply risks.",
          "Which research tables can I browse, and what columns are in the companies table?",
          "Show my active CatCapital demo orders."
        ],
        "composerIcon": "./assets/catcapital.png",
        "logo": "./assets/catcapital.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Explore the research catalog and run a read-only query with a linked account",
              "prompt": "List the available research tables and show the columns in the companies table. Then use my linked account to return one ticker from that table with SQL.",
              "tools_triggered": "list_tables, get_table_structure, run_select",
              "expected_behavior": "List catalog tables, describe the published columns for companies, and run SELECT ticker FROM companies LIMIT 1 with the linked review account. Show the ticker returned by the query."
            },
            {
              "description": "Read the connected account's holdings",
              "prompt": "Show my CatCapital portfolio positions, grouped by portfolio.",
              "tools_triggered": "get_portfolio_positions",
              "expected_behavior": "Use the signed-in demo account and show its holdings by portfolio. Keep aggregate views separate from the individual portfolios."
            },
            {
              "description": "Add a ticker to the review account's watchlist",
              "prompt": "Add AAPL.US to my Plugin Review watchlist with the note 'Follow the next earnings release'.",
              "tools_triggered": "update_watchlist_item",
              "expected_behavior": "Use the authorized review account and report whether the item was added or was already present."
            },
            {
              "description": "Create a price alert",
              "prompt": "Create an alert for BHP.AU at or above 100 AUD in my CatCapital account.",
              "tools_triggered": "manage_price_alert",
              "expected_behavior": "Create the alert for the linked review account and report the returned status or validation error."
            },
            {
              "description": "Create a simulated limit order",
              "prompt": "In my CatCapital demo account, create a DAY limit order to buy one share of AAPL.US at USD 50. Use 'Plugin review' as the order note.",
              "tools_triggered": "create_demo_order",
              "expected_behavior": "Use the Standard demo account. Report whether the order was created, requires approval in the CatCapital app, or was rejected by the investing profile or account limits."
            }
          ],
          "negative": [
            {
              "description": "Live brokerage orders are unavailable",
              "prompt": "Use real money to buy 10 shares of Microsoft in my brokerage account.",
              "expected_behavior": "Explain that CatCapital supports simulated order placement only. Leave both the brokerage and the demo account untouched."
            },
            {
              "description": "A signed-out caller requests a SQL query",
              "prompt": "I am signed out. Show me the columns in the companies table, then run SELECT ticker FROM companies LIMIT 1 without connecting an account.",
              "expected_behavior": "Show the public column information. Explain that executing the SQL query requires a linked CatCapital account. Return no SQL rows while signed out."
            },
            {
              "description": "Access is limited to the linked account",
              "prompt": "Show me the holdings of someone else's CatCapital account.",
              "expected_behavior": "Explain that only holdings available to the connected account can be retrieved."
            }
          ]
        }
      },
      "publication": {
        "release_notes": "Added public research catalog browsing with list_tables and get_table_structure. Users with a linked CatCapital account can run read-only queries on approved research tables with run_select."
      },
      "apps": "./.app.json"
    }
  }
}
