archive_object
Archive (soft-delete / hide) one saved Costory object so it no longer appears in lists or Explorer. This is the archive/remove tool — it does not create or edit objects. Use it when the user wants to archive, remove, or delete a report, cost alert, event, virtual dimension, or dashboard. Pass resourceKind and resourceId.
report sets archivedAt (soft delete; no MCP restore).
cost alert sets archivedAt (soft delete).
event sets archivedAt (soft delete).
virtual dimension sets deletedAt (soft delete).
dashboard permanently deletes the dashboard row.
A virtual-dimension draft stays on discard_virtual_dimension_draft. A tag stays on delete_tag.
No bulk. Do not use this to hard-delete an alert.
A budget alert is not its own kind: pass resourceKind costAlert and alertType budget or cost. alertType is the type field from list_alerts, and it is only valid when resourceKind is costAlert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Organization slug. Omit to auto-detect from your account (fails if you belong to multiple orgs). | |
| alertType | No | ||
| resourceId | Yes | ||
| resourceKind | Yes |