{
  "id": "firecrawl",
  "providerAuthEnvVars": {
    "firecrawl": ["FIRECRAWL_API_KEY"]
  },
  "uiHints": {
    "webSearch.apiKey": {
      "label": "Firecrawl Search API Key",
      "help": "Firecrawl API key for web search (fallback: FIRECRAWL_API_KEY env var).",
      "sensitive": true,
      "placeholder": "fc-..."
    },
    "webSearch.baseUrl": {
      "label": "Firecrawl Search Base URL",
      "help": "Firecrawl Search base URL override."
    },
    "webFetch.apiKey": {
      "label": "Firecrawl Fetch API Key",
      "help": "Firecrawl API key for web fetch fallback (fallback: FIRECRAWL_API_KEY env var).",
      "sensitive": true,
      "placeholder": "fc-..."
    },
    "webFetch.baseUrl": {
      "label": "Firecrawl Fetch Base URL",
      "help": "Firecrawl Fetch base URL override."
    }
  },
  "contracts": {
    "webFetchProviders": ["firecrawl"],
    "webSearchProviders": ["firecrawl"],
    "tools": ["firecrawl_search", "firecrawl_scrape"]
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "webSearch": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiKey": {
            "type": ["string", "object"]
          },
          "baseUrl": {
            "type": "string"
          }
        }
      },
      "webFetch": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiKey": {
            "type": ["string", "object"]
          },
          "baseUrl": {
            "type": "string"
          },
          "onlyMainContent": {
            "type": "boolean"
          },
          "maxAgeMs": {
            "type": "number"
          },
          "timeoutSeconds": {
            "type": "number"
          }
        }
      }
    }
  }
}
