Add delete_context_workspace tool

This commit is contained in:
Riz Ashraf committed 2026-09-27 10:10:30 +01:00
1 parent 0699b603c1
commit bb535b62b0
4 files changed
+50 -2

No files matched your search

+10
View File
@@ -547,6 +547,16 @@ pub struct ListContextWorkspacesTool {
pub namespace: Option<String>,
}
/// Delete a saved context workspace.
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
pub struct DeleteContextWorkspaceTool {
/// The namespace of the workspace.
#[serde(default = "crate::models::default_namespace")]
pub namespace: String,
/// The name of the workspace to delete.
pub name: String,
}
/// Search across all memory stores (Graph, Tasks, Snippets, ADRs, etc.).
/// Highly recommended for discovery. Supports Lucene query syntax.
#[derive(Debug, Deserialize, Serialize, JsonSchema)]