Delete a site
artifact_site_deleteDelete a remote artifact by moving it to trash. Verify the artifact slug with find or get_site first, then delete; requires ownership or equivalent privileges.
Instructions
Move an existing remote artifact to the trash when the user explicitly asks to delete it. This removes it from normal access; it is not an upload cancellation or a way to hide a share link. Verify the intended artifact using find/get_site when ambiguous. Requires ownership or equivalent authorized privileges; returns deletion confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "artifact_site_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Artifact identifier returned by find/publish, or the slug in its /s/ URL. Not a local path. | |
| tenant_id | No | Destination tenant for creation; defaults to the account tenant. | |
| share_token | No | Token from a user-provided share URL; carries only that share permission. |