{
  "schema_version": 2,
  "id": "commands/function-list",
  "title": "FUNCTION LIST",
  "url": "https://redis.io/docs/latest/commands/function-list/",
  "summary": "Returns information about all libraries.",
  "since": "7.0.0",
  "tags": [
    "docs",
    "develop",
    "stack",
    "oss",
    "rs",
    "rc",
    "oss",
    "kubernetes",
    "clients"
  ],
  "last_updated": "2026-09-18T09:48:32+01:00",
  "page_type": "content",
  "content_hash": "29c3584d32b3d1e86f20af1d55e711fd05b9062106a0b98f63b740d7126c5184",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Return information about loaded functions and libraries.\n\nFor more information see [Introduction to Redis Functions](https://redis.io/docs/latest/develop/programmability/functions-intro)."
    },
    {
      "id": "optional-arguments",
      "title": "Optional arguments",
      "role": "parameters",
      "text": "<details open><summary><code>LIBRARYNAME library-name-pattern</code></summary>\n\nList only libraries whose names match the given pattern.\n\n</details>\n\n<details open><summary><code>WITHCODE</code></summary>\n\nInclude the source code of each library in the reply.\n\n</details>"
    },
    {
      "id": "details",
      "title": "Details",
      "role": "content",
      "text": "The following information is provided for each of the libraries in the response:\n\n* `library_name:` the name of the library.\n* `engine:` the engine of the library.\n* `functions:` the list of functions in the library.\n  Each function has the following fields:\n  * `name:` the name of the function.\n  * `description:` the function's description.\n  * `flags:` an array of [function flags](https://redis.io/docs/latest/develop/programmability/functions-intro#function-flags).\n* `library_code:` the library's source code (when given the `WITHCODE` modifier)."
    },
    {
      "id": "redis-software-and-redis-cloud-compatibility",
      "title": "Redis Software and Redis Cloud compatibility",
      "role": "content",
      "text": "| Redis<br />Software | Redis<br />Cloud | <span style=\"min-width: 9em; display: table-cell\">Notes</span> |\n|:----------------------|:-----------------|:------|\n| <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> | <span title=\"Supported\">&#x2705; Standard</span><br /><span title=\"Supported\"><nobr>&#x2705; Active-Active</nobr></span> |  |"
    },
    {
      "id": "return-information",
      "title": "Return information",
      "role": "returns",
      "text": "**RESP2:**\n\n[Array reply](../../develop/reference/protocol-spec#arrays): information about loaded functions and libraries.\n\n**RESP3:**\n\n[Map reply](../../develop/reference/protocol-spec#maps): information about loaded functions and libraries."
    }
  ],
  "examples": []
}
