690519:1631 224 to 226 AI #01
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export type ToolCallReason = 'FORBIDDEN' | 'NOT_FOUND' | 'INVALID_PARAMS' | 'SERVICE_ERROR';
|
||||
|
||||
export type ToolCallResult<T> =
|
||||
| { ok: true; data: T }
|
||||
| { ok: false; reason: ToolCallReason; message: string };
|
||||
Reference in New Issue
Block a user