delete_references
Permanently delete one or more references you created with create_reference: each one's image is removed from Logospell's servers and its ref_ token stops working in any later call. Call it only when the user asks to delete references: it cannot be undone. Only the API key that created a reference can delete it; list_references shows yours. Tokens that are not found are reported without failing the call, which fails only when nothing was deleted. Up to 50 tokens per call. Without this, a reference expires on its own 7 days after its last use or re-upload. Costs no credits.
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": {
"refs": "<refs>"
},
"name": "delete_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | Yes | The ref_ tokens of the references to delete, as create_reference or list_references returned them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | The ref_ tokens that were deleted. | |
| notFound | No | Tokens that were not found for this API key or had already expired; nothing was deleted for them. |