get_ns_vars
Retrieve all public variables in a Clojure namespace, including metadata and current values, for inspection and debugging purposes. Supports namespace-specific querying via MCP server.
Instructions
Get all public vars (functions, values) in a namespace with their metadata and current values. Example:
List main namespace vars: (get_ns_vars {:ns "main"}) Returns a map where keys are var names and values contain:
:meta - Metadata including :doc string, :line number, :file path
:value - Current value of the var
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ns | Yes | Namespace to inspect |
Input Schema (JSON Schema)
{
"properties": {
"ns": {
"description": "Namespace to inspect",
"type": "string"
}
},
"required": [
"ns"
],
"type": "object"
}