Skip to content

remove_variable / rename_variable return UNKNOWN_ACTION (cannot delete/rename a variable) #6

Description

@katyoid

Summary

There is no way to delete or rename a Blueprint variable through the bridge: remove_variable and rename_variable return UNKNOWN_ACTION, even though they appear in the tool schema.

Environment

  • Plugin MCP Automation Bridge (previous reports were v0.5.30 — please confirm current version)
  • Unreal Engine 5.6.1; OS: Windows editor, client on WSL2
  • MCP client: claude-code (native WebSocket/HTTP transport)

Steps to reproduce

manage_blueprint  action=remove_variable  blueprintPath=/Game/.../MyBlueprint  variableName=TmpVar
→ Error [UNKNOWN_ACTION]: Unknown blueprint action: remove_variable

manage_blueprint  action=rename_variable  ...
→ Error [UNKNOWN_ACTION]: Unknown blueprint action: rename_variable

Actual

Both actions are advertised by the schema but not implemented. Consequence: a mistyped/experimental variable can't be removed or renamed programmatically. In Python only BlueprintEditorLibrary.remove_unused_variables exists, which removes all unreferenced variables (would delete unrelated ones) — unsafe for targeted cleanup, so the variable must be removed by hand.

Expected

remove_variable and rename_variable implemented (targeted, by name). If they can't be supported, they should be removed from the schema so they don't appear available.

Acceptance

  • remove_variable name=X removes only variable X; blueprint compiles.
  • rename_variable oldName=X newName=Y renames X→Y and updates references.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions