# onf_list_variables

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.

Canonical URL: https://opennodeflow.dev/wiki/tool-onf-list-variables/
JSON reference: https://opennodeflow.dev/wiki/tool-onf-list-variables/index.json
Source snapshot: 2026-10-23

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.

[Agent workflow authoring](/wiki/mcp-workflow-authoring/) · [All MCP tools](/wiki/mcp-tools/)

## Inputs

| Field | Required | Contract |
| --- | --- | --- |
| `scope` | No | string; default "workspace" |
| `workspaceId` | Yes | string |
| `query` | No | string |
| `offset` | No | integer; default 0 |
| `limit` | No | integer; default 50 |

## Exact input schema


```json
{
  "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"
  ]
}
```


## MCP annotations

- `readOnlyHint`: `true`
- `destructiveHint`: `false`
- `idempotentHint`: `true`
- `openWorldHint`: `false`

Annotations describe tool behavior; they are not an authorization boundary.

## Calling this tool

Use the exact registered name `onf_list_variables` through a compatible MCP client. Start with discovery and read the current object before a change. Pass the documented revision or version guards where required. A JSON Schema default is not a substitute for reading the tool contract.

See [connection setup](/wiki/mcp-connect/) and [agent safety](/wiki/agent-safety/) for transport, permissions and uncertain-action recovery.

---

## Documentation provenance

- `server/variable-tools.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
