Skip to content

delete-actor #1417

Description

@DaveHanns

Problem

An agent that creates a throwaway Actor while iterating, or misnames one, has no way to remove it over MCP. The CLI has apify actors rm with a confirmation prompt.

Proposal

A delete-actor tool taking actor (ID or name), own account only, wrapping client.actor(id).delete(), shaped like delete-schedule. destructiveHint: true so clients ask the user first. The response names the deleted Actor and says the deletion is permanent.

Notes

  • Whether to ship this at all is an open question on the Epic; deprecating through update-actor (isDeprecated: true) is the reversible alternative.
  • If shipped, the tool should refuse public Actors with users other than the owner, or at least say how many users it has, before deleting.

Part of #1412.

Draft PR: #1439

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions