Version
DESTRUCTIVE

delete_resource

Hard-delete a project resource. Emits project.resource.deleted before the row disappears so listeners see the snapshot.

Hard-delete a project resource by UUID. Delegates to an Action that emits project.resource.deleted with the row snapshot before the delete executes so downstream listeners capture the final state. Scoped to the caller's team.

Requires ability

The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.

The REST endpoint and this tool share one action, so validation, permissions and events are identical.

Delivered to every endpoint subscribed to it once the change is made.

Annotations

DestructiveIdempotentOpen world

A client that honours annotations asks a person before running it. Sending the same arguments twice changes nothing the second time. It reaches beyond Subscriby: a connector, a provider or a member.

Arguments

resource_id*string

UUID of the resource to delete.

What it returns

{  "data": {    "resource_id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",    "deleted": true  }}

How it fails

RESOURCE_NOT_FOUND

unknown resource_id, or the parent project is outside the token's scope.

TOKEN_MISSING_ABILITY

token lacks project-resource:delete.

How is this guide?

Last updated on