MCP tools/KG admin

Knowledge graph admin

KG admin tools include / exclude folders, documents, projects, and workspaces in the company brain. Every scope change goes through the estimate-confirm-deduct ritual: `previewKgScopeChange` returns the credit cost, time estimate, and what will newly enter or leave the brain; `applyKgScopeChange` consumes the token and dispatches ingest atomically. Enterprise tier only.

Live discovery

Your agent can call searchTools with category: "kg_admin" to fetch this list at runtime, complete with full input schemas. The page below is the human-readable mirror.

12 tools

Every tool below honours the credential’s permission scope and the user’s org role — agents see only what they’re authorised to call.

  • getKgScopeTree

    Read the current scope state for the org/workspace.

  • setKgWorkspaceScope

    Toggle workspace scope (on / off / inherit). No re-ingest.

  • setKgProjectVisibility

    Set project visibility mode (strict / permissive / open).

  • setKgFolderScope

    Toggle folder scope state.

  • setKgDocumentScope

    Toggle document scope state.

  • previewKgScopeChange

    Preview a scope change — credit cost, ETA, what changes.

  • applyKgScopeChange

    Apply a previewed scope change (atomic, idempotent).

  • previewKgRebuild

    Preview a rebuild of the brain (cost + ETA).

  • triggerKgRebuild

    Trigger a brain rebuild (consumes confirmation token).

  • cancelKgBuildBatch

    Cancel an in-progress build batch.

  • cancelAllKgInScope

    Cancel all in-flight KG operations in scope.

  • resetDocumentInBrain

    Force-rebuild a single document's KG presence.