Delete files from the library
delete_from_libraryDelete files from the user's own Clay library, up to 100 ids a call, for when the user wants pictures or files out of it. Permanent. Only the signed-in user's own library is reached. A site that already shows one of the files keeps showing it (a site has its own copy, and a link to the file keeps working); onSites in the result says which sites have each file, and notFound lists ids that are not in their library.
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": {
"ids": "<ids>"
},
"name": "delete_from_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ids of files in the user's library |