Revoke a file
revoke_artifactRevoke a file by its id. Its link stops working at once and the file is deleted. The result is revoked: true, or revoked: false when this workspace has no file with that id. If storage could not be reached, the result adds storage_deleted: false and a later sweep finishes the deletion. Repeating the call is harmless.
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": {
"id": "<id>"
},
"name": "revoke_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | This is the id of the file to revoke, a UUID. Both upload_artifact and list_artifacts return it. |