{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "tool-onf-configure-worker-pool",
  "title": "onf_configure_worker_pool",
  "section": "MCP tool reference",
  "description": "Create or update a local worker pool with expectedRevision (0 to create). concurrency bounds node attempts; config.$workerPool routes a graph node. Disabling refuses queued/new attempts without killing code already running.",
  "kind": "mcp",
  "url": "/wiki/tool-onf-configure-worker-pool/",
  "markdown": "/wiki/tool-onf-configure-worker-pool/index.md",
  "json": "/wiki/tool-onf-configure-worker-pool/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/feature-tools.ts"
  ],
  "contract": {
    "name": "onf_configure_worker_pool",
    "description": "Create or update a local worker pool with expectedRevision (0 to create). concurrency bounds node attempts; config.$workerPool routes a graph node. Disabling refuses queued/new attempts without killing code already running.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "poolId": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_-]{0,63}$"
        },
        "expectedRevision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "concurrency": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32
        },
        "runtimes": {
          "minItems": 1,
          "maxItems": 4,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "typescript",
              "javascript",
              "python",
              "powershell"
            ]
          }
        },
        "enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "poolId",
        "expectedRevision",
        "name",
        "concurrency",
        "runtimes",
        "enabled"
      ]
    },
    "annotations": {
      "readOnlyHint": false,
      "destructiveHint": false,
      "idempotentHint": false,
      "openWorldHint": true
    },
    "source": {
      "file": "server/feature-tools.ts",
      "line": 222
    }
  }
}
