MCPcopy Create free account
hub / github.com/astercloud/aster / delete

Function delete

ui/src/composables/useAsterClient.ts:67–73  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

65 return response.json();
66 },
67 async delete(id: string) {
68 const response = await fetch(`${baseUrl}/v1/agents/${id}`, {
69 method: "DELETE",
70 headers: buildHeaders(),
71 });
72 return response.status === 204 ? { success: true } : response.json();
73 },
74 async chat(id: string, message: string) {
75 const response = await fetch(`${baseUrl}/v1/agents/${id}/send`, {
76 method: "POST",

Callers 15

deleteFromMemoryMethod · 0.85
evictOldestMethod · 0.85
cleanupMemoryMethod · 0.85
RemoveToolMethod · 0.85
RemoveServerMethod · 0.85
RespondToAskUserFunction · 0.85
ExecuteMethod · 0.85
CleanupSubagentMethod · 0.85
CleanupTaskMethod · 0.85
cleanupCompletedTasksMethod · 0.85
RemoveBlockedCommandMethod · 0.85
UnwatchMethod · 0.85

Calls 1

buildHeadersFunction · 0.85

Tested by 1

TestMerge_BasicFunction · 0.68