{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-list-variables",
  "title": "onf_list_variables",
  "section": "MCP tool reference",
  "description": "List workspace variable metadata and exact type pins without private values. Workspace is required; no global scope exists. query searches names across the complete selected workspace.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-list-variables/",
  "markdown": "/wiki/tool-onf-list-variables/index.md",
  "json": "/wiki/tool-onf-list-variables/index.json",
  "headings": [
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "exact-input-schema",
      "title": "Exact input schema",
      "depth": 2
    },
    {
      "id": "mcp-annotations",
      "title": "MCP annotations",
      "depth": 2
    },
    {
      "id": "calling-this-tool",
      "title": "Calling this tool",
      "depth": 2
    }
  ],
  "sources": [
    "server/variable-tools.ts"
  ],
  "contract": {
    "name": "onf_list_variables",
    "description": "List workspace variable metadata and exact type pins without private values. Workspace is required; no global scope exists. query searches names across the complete selected workspace.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "scope": {
          "default": "workspace",
          "type": "string",
          "const": "workspace"
        },
        "workspaceId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_.-]{1,120}$"
        },
        "query": {
          "type": "string",
          "maxLength": 120
        },
        "offset": {
          "default": 0,
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "limit": {
          "default": 50,
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [
        "workspaceId"
      ]
    },
    "annotations": {
      "readOnlyHint": true,
      "destructiveHint": false,
      "idempotentHint": true,
      "openWorldHint": false
    },
    "source": {
      "file": "server/variable-tools.ts",
      "line": 67
    }
  }
}
