feat: mutualize CRUD tools between workflows and AI (#14996)
Closes [#1662](https://github.com/twentyhq/core-team-issues/issues/1662)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export type ToolOutput = {
|
||||
export type ToolOutput<T = object> = {
|
||||
success: boolean;
|
||||
message: string;
|
||||
error?: string;
|
||||
result?: unknown;
|
||||
result?: T;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user