resources_archive
Run resources.archive through the Appaloft application operation catalog. Shared with CLI and HTTP/API.
This record as markdown: /tools/appaloft-mcp/resources-archive.md
What resources_archive does on Appaloft
AI agents call resources_archive to permanently remove resources in Appaloft, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
| Parameter | Type | Required | Description |
|---|---|---|---|
reason | string | — | |
resourceId | string | Yes | |
idempotencyKey | string | — |
Parameters from the server's own tool schema.
Why resources_archive is rated Critical
Archiving resources typically renders them inactive or inaccessible in an irreversible or semi-irreversible manner. Given sibling tools like 'audit_events_archives_prune' (which suggests pruning/deletion of archived items) and 'account_delete', this server pattern leans toward destructive operations.
From the tool's definition 'archive' in tool name and description; 'Run resources.archive through the Appaloft application operation catalog'
Attacks that exploit this kind of access
The rule that runs resources_archive safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Appaloft, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For resources_archive, this is the rule to start with:
resources_archive is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Appaloft, apply this rule, and every resources_archive call is checked against it from then on.
Questions about resources_archive
Run resources.archive through the Appaloft application operation catalog. Shared with CLI and HTTP/API. It is categorised as a Destructive tool in the Appaloft MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
resources_archive accepts 3 parameters: reason, resourceId, idempotencyKey. Required: resourceId. The full parameter table on this page comes from the server's own tool schema.
Register the Appaloft MCP server in PolicyLayer and add a rule for resources_archive: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Appaloft. Nothing to install.
resources_archive is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the resources_archive rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for resources_archive. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
resources_archive is provided by the Appaloft MCP server (@appaloft/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Appaloft, and thousands of servers like it.
Across the catalogue