veryfront__delete_project_resource

Delete the source file of a project resource that is no longer needed; returns an acknowledgement. Requires project.files.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
resource_idstringYesThe resource id associated with this record.
confirmbooleanSend true to confirm the deletion. A call without it is refused and deletes nothing.
source_target_kindstringThe source to write: project (the default) or preview_branch.
target_branch_idThe preview branch to write. Required with preview_branch and not accepted with project.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__delete_project_resource",    "arguments": {      "resource_id": "<resource_id>"    }  }}