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
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 rmwith a confirmation prompt.Proposal
A
delete-actortool takingactor(ID or name), own account only, wrappingclient.actor(id).delete(), shaped likedelete-schedule.destructiveHint: trueso clients ask the user first. The response names the deleted Actor and says the deletion is permanent.Notes
update-actor(isDeprecated: true) is the reversible alternative.Part of #1412.
Draft PR: #1439