Add /link and /unlink commands for managing agent tools (#59)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -50,6 +50,20 @@ export const commands: Record<string, Command> = {
|
||||
return "Clearing credentials...";
|
||||
},
|
||||
},
|
||||
"/link": {
|
||||
desc: "Attach Letta Code tools to current agent",
|
||||
handler: () => {
|
||||
// Handled specially in App.tsx to access agent ID and client
|
||||
return "Attaching tools...";
|
||||
},
|
||||
},
|
||||
"/unlink": {
|
||||
desc: "Remove Letta Code tools from current agent",
|
||||
handler: () => {
|
||||
// Handled specially in App.tsx to access agent ID and client
|
||||
return "Removing tools...";
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user