{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-list-runs",
  "title": "onf_list_runs",
  "section": "MCP tool reference",
  "description": "List up to the latest 250 retained runs, filtered by workspace/workflow/status. Summaries omit payloads/logs; get run retrieves full details.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-list-runs/",
  "markdown": "/wiki/tool-onf-list-runs/index.md",
  "json": "/wiki/tool-onf-list-runs/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/mcp-tools.ts"
  ],
  "contract": {
    "name": "onf_list_runs",
    "description": "List up to the latest 250 retained runs, filtered by workspace/workflow/status. Summaries omit payloads/logs; get_run retrieves full details.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "workflowId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[A-Za-z0-9_.-]+$"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "paused",
            "waiting",
            "success",
            "failed",
            "cancelled",
            "interrupted"
          ]
        },
        "offset": {
          "default": 0,
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "limit": {
          "default": 30,
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      }
    },
    "annotations": {
      "readOnlyHint": true,
      "destructiveHint": false,
      "idempotentHint": true,
      "openWorldHint": false
    },
    "source": {
      "file": "server/mcp-tools.ts",
      "line": 1108
    }
  }
}
