delete_library
Delete a context library by its UUID, moving it to trash for 30-day recovery. Requires owner or admin role.
Instructions
Delete a context library (moves to trash, recoverable within 30 days). Requires owner or admin role.
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": {
"libraryId": "<libraryId>"
},
"name": "delete_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | Yes | The UUID of the library to delete | |
| workspaceId | No | Workspace ID (optional — uses default workspace if omitted) |