@letta-ai/letta-client 0.1.63 → 0.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/api/resources/agents/client/Client.d.ts +7 -7
  2. package/api/resources/agents/client/Client.js +28 -22
  3. package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
  4. package/api/resources/agents/client/requests/index.d.ts +1 -1
  5. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  6. package/api/resources/agents/resources/context/client/Client.js +1 -1
  7. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.d.ts +9 -6
  10. package/api/resources/agents/resources/messages/client/Client.js +14 -11
  11. package/api/resources/agents/resources/passages/client/Client.js +3 -3
  12. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  13. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  14. package/api/resources/agents/resources/tools/client/Client.js +3 -3
  15. package/api/resources/blocks/client/Client.js +6 -6
  16. package/api/resources/groups/client/Client.d.ts +8 -2
  17. package/api/resources/groups/client/Client.js +15 -9
  18. package/api/resources/groups/client/requests/SendGroupMessageRequest.d.ts +4 -1
  19. package/api/resources/health/client/Client.js +1 -1
  20. package/api/resources/identities/client/Client.js +6 -6
  21. package/api/resources/jobs/client/Client.js +4 -4
  22. package/api/resources/models/client/Client.js +2 -2
  23. package/api/resources/providers/client/Client.js +4 -4
  24. package/api/resources/runs/client/Client.js +7 -7
  25. package/api/resources/sources/client/Client.js +6 -6
  26. package/api/resources/sources/resources/files/client/Client.js +3 -3
  27. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  28. package/api/resources/steps/client/Client.js +2 -2
  29. package/api/resources/tag/client/Client.js +1 -1
  30. package/api/resources/templates/client/Client.js +1 -1
  31. package/api/resources/tools/client/Client.js +16 -16
  32. package/api/resources/voice/client/Client.js +1 -1
  33. package/api/types/AgentSchema.d.ts +27 -0
  34. package/api/types/AssistantMessage.d.ts +3 -1
  35. package/api/types/CoreMemoryBlockSchema.d.ts +16 -0
  36. package/api/types/LettaMessageContentUnion.d.ts +5 -0
  37. package/api/types/Message.d.ts +1 -1
  38. package/api/types/MessageContentItem.d.ts +5 -0
  39. package/api/types/MessageCreateContent.d.ts +1 -1
  40. package/api/types/MessageSchema.d.ts +17 -0
  41. package/api/types/OmittedReasoningContent.d.ts +8 -0
  42. package/api/types/OmittedReasoningContent.js +5 -0
  43. package/api/types/ParameterProperties.d.ts +7 -0
  44. package/api/types/ParameterProperties.js +5 -0
  45. package/api/types/ParametersSchema.d.ts +9 -0
  46. package/api/types/ParametersSchema.js +5 -0
  47. package/api/types/ReasoningContent.d.ts +12 -0
  48. package/api/types/ReasoningContent.js +5 -0
  49. package/api/types/ReasoningMessage.d.ts +6 -0
  50. package/api/types/ReasoningMessageSource.d.ts +8 -0
  51. package/api/types/ReasoningMessageSource.js +10 -0
  52. package/api/types/RedactedReasoningContent.d.ts +8 -0
  53. package/api/types/RedactedReasoningContent.js +5 -0
  54. package/api/types/SystemMessage.d.ts +5 -4
  55. package/api/types/TagSchema.d.ts +6 -0
  56. package/api/types/TagSchema.js +5 -0
  57. package/api/types/ToolCallContent.d.ts +12 -0
  58. package/api/types/ToolCallContent.js +5 -0
  59. package/api/types/ToolCallMessage.d.ts +2 -0
  60. package/api/types/ToolEnvVarSchema.d.ts +11 -0
  61. package/api/types/ToolEnvVarSchema.js +5 -0
  62. package/api/types/ToolJsonSchema.d.ts +11 -0
  63. package/api/types/ToolJsonSchema.js +5 -0
  64. package/api/types/ToolReturnContent.d.ts +12 -0
  65. package/api/types/ToolReturnContent.js +5 -0
  66. package/api/types/ToolReturnMessage.d.ts +2 -0
  67. package/api/types/ToolRuleSchema.d.ts +7 -0
  68. package/api/types/ToolRuleSchema.js +5 -0
  69. package/api/types/ToolSchema.d.ts +18 -0
  70. package/api/types/ToolSchema.js +5 -0
  71. package/api/types/UpdateSystemMessage.d.ts +2 -3
  72. package/api/types/UpdateUserMessage.d.ts +1 -1
  73. package/api/types/UpdateUserMessageContent.d.ts +1 -1
  74. package/api/types/UserMessage.d.ts +4 -2
  75. package/api/types/UserMessageContent.d.ts +1 -1
  76. package/api/types/index.d.ts +18 -2
  77. package/api/types/index.js +18 -2
  78. package/dist/api/resources/agents/client/Client.d.ts +7 -7
  79. package/dist/api/resources/agents/client/Client.js +28 -22
  80. package/dist/api/resources/agents/client/requests/{BodyUploadAgentSerialized.d.ts → BodyImportAgentSerialized.d.ts} +1 -1
  81. package/dist/api/resources/agents/client/requests/BodyImportAgentSerialized.js +5 -0
  82. package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
  83. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  84. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  85. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  86. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  87. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +9 -6
  88. package/dist/api/resources/agents/resources/messages/client/Client.js +14 -11
  89. package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
  90. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  91. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  92. package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
  93. package/dist/api/resources/blocks/client/Client.js +6 -6
  94. package/dist/api/resources/groups/client/Client.d.ts +8 -2
  95. package/dist/api/resources/groups/client/Client.js +15 -9
  96. package/dist/api/resources/groups/client/requests/SendGroupMessageRequest.d.ts +4 -1
  97. package/dist/api/resources/health/client/Client.js +1 -1
  98. package/dist/api/resources/identities/client/Client.js +6 -6
  99. package/dist/api/resources/jobs/client/Client.js +4 -4
  100. package/dist/api/resources/models/client/Client.js +2 -2
  101. package/dist/api/resources/providers/client/Client.js +4 -4
  102. package/dist/api/resources/runs/client/Client.js +7 -7
  103. package/dist/api/resources/sources/client/Client.js +6 -6
  104. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  105. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  106. package/dist/api/resources/steps/client/Client.js +2 -2
  107. package/dist/api/resources/tag/client/Client.js +1 -1
  108. package/dist/api/resources/templates/client/Client.js +1 -1
  109. package/dist/api/resources/tools/client/Client.js +16 -16
  110. package/dist/api/resources/voice/client/Client.js +1 -1
  111. package/dist/api/types/AgentSchema.d.ts +27 -0
  112. package/dist/api/types/AgentSchema.js +5 -0
  113. package/dist/api/types/AssistantMessage.d.ts +3 -1
  114. package/dist/api/types/CoreMemoryBlockSchema.d.ts +16 -0
  115. package/dist/api/types/CoreMemoryBlockSchema.js +5 -0
  116. package/dist/api/types/LettaMessageContentUnion.d.ts +5 -0
  117. package/dist/api/types/LettaMessageContentUnion.js +5 -0
  118. package/dist/api/types/Message.d.ts +1 -1
  119. package/dist/api/types/MessageContentItem.d.ts +5 -0
  120. package/dist/api/types/MessageContentItem.js +5 -0
  121. package/dist/api/types/MessageCreateContent.d.ts +1 -1
  122. package/dist/api/types/MessageSchema.d.ts +17 -0
  123. package/dist/api/types/MessageSchema.js +5 -0
  124. package/dist/api/types/OmittedReasoningContent.d.ts +8 -0
  125. package/dist/api/types/OmittedReasoningContent.js +5 -0
  126. package/dist/api/types/ParameterProperties.d.ts +7 -0
  127. package/dist/api/types/ParameterProperties.js +5 -0
  128. package/dist/api/types/ParametersSchema.d.ts +9 -0
  129. package/dist/api/types/ParametersSchema.js +5 -0
  130. package/dist/api/types/ReasoningContent.d.ts +12 -0
  131. package/dist/api/types/ReasoningContent.js +5 -0
  132. package/dist/api/types/ReasoningMessage.d.ts +6 -0
  133. package/dist/api/types/ReasoningMessageSource.d.ts +8 -0
  134. package/dist/api/types/ReasoningMessageSource.js +10 -0
  135. package/dist/api/types/RedactedReasoningContent.d.ts +8 -0
  136. package/dist/api/types/RedactedReasoningContent.js +5 -0
  137. package/dist/api/types/SystemMessage.d.ts +5 -4
  138. package/dist/api/types/TagSchema.d.ts +6 -0
  139. package/dist/api/types/TagSchema.js +5 -0
  140. package/dist/api/types/ToolCallContent.d.ts +12 -0
  141. package/dist/api/types/ToolCallContent.js +5 -0
  142. package/dist/api/types/ToolCallMessage.d.ts +2 -0
  143. package/dist/api/types/ToolEnvVarSchema.d.ts +11 -0
  144. package/dist/api/types/ToolEnvVarSchema.js +5 -0
  145. package/dist/api/types/ToolJsonSchema.d.ts +11 -0
  146. package/dist/api/types/ToolJsonSchema.js +5 -0
  147. package/dist/api/types/ToolReturnContent.d.ts +12 -0
  148. package/dist/api/types/ToolReturnContent.js +5 -0
  149. package/dist/api/types/ToolReturnMessage.d.ts +2 -0
  150. package/dist/api/types/ToolRuleSchema.d.ts +7 -0
  151. package/dist/api/types/ToolRuleSchema.js +5 -0
  152. package/dist/api/types/ToolSchema.d.ts +18 -0
  153. package/dist/api/types/ToolSchema.js +5 -0
  154. package/dist/api/types/UpdateSystemMessage.d.ts +2 -3
  155. package/dist/api/types/UpdateUserMessage.d.ts +1 -1
  156. package/dist/api/types/UpdateUserMessageContent.d.ts +1 -1
  157. package/dist/api/types/UserMessage.d.ts +4 -2
  158. package/dist/api/types/UserMessageContent.d.ts +1 -1
  159. package/dist/api/types/index.d.ts +18 -2
  160. package/dist/api/types/index.js +18 -2
  161. package/dist/serialization/types/AgentSchema.d.ts +40 -0
  162. package/dist/serialization/types/AgentSchema.js +71 -0
  163. package/dist/serialization/types/AssistantMessage.d.ts +1 -0
  164. package/dist/serialization/types/AssistantMessage.js +1 -0
  165. package/dist/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
  166. package/dist/serialization/types/CoreMemoryBlockSchema.js +53 -0
  167. package/dist/serialization/types/LettaMessageContentUnion.d.ts +15 -0
  168. package/dist/serialization/types/LettaMessageContentUnion.js +52 -0
  169. package/dist/serialization/types/Message.d.ts +2 -2
  170. package/dist/serialization/types/Message.js +2 -2
  171. package/dist/serialization/types/MessageContentItem.d.ts +16 -0
  172. package/dist/serialization/types/MessageContentItem.js +54 -0
  173. package/dist/serialization/types/MessageCreateContent.d.ts +2 -2
  174. package/dist/serialization/types/MessageCreateContent.js +5 -2
  175. package/dist/serialization/types/MessageSchema.d.ts +23 -0
  176. package/dist/serialization/types/MessageSchema.js +54 -0
  177. package/dist/serialization/types/OmittedReasoningContent.d.ts +13 -0
  178. package/dist/serialization/types/{SystemMessageContent.js → OmittedReasoningContent.js} +5 -6
  179. package/dist/serialization/types/ParameterProperties.d.ts +13 -0
  180. package/{serialization/types/SystemMessageContent.js → dist/serialization/types/ParameterProperties.js} +5 -6
  181. package/dist/serialization/types/ParametersSchema.d.ts +15 -0
  182. package/dist/serialization/types/ParametersSchema.js +46 -0
  183. package/dist/serialization/types/ReasoningContent.d.ts +15 -0
  184. package/dist/serialization/types/ReasoningContent.js +46 -0
  185. package/dist/serialization/types/ReasoningMessage.d.ts +3 -0
  186. package/dist/serialization/types/ReasoningMessage.js +3 -0
  187. package/dist/serialization/types/ReasoningMessageSource.d.ts +10 -0
  188. package/dist/serialization/types/{UpdateSystemMessageContent.js → ReasoningMessageSource.js} +2 -6
  189. package/dist/serialization/types/RedactedReasoningContent.d.ts +13 -0
  190. package/{serialization/types/UpdateSystemMessageContent.js → dist/serialization/types/RedactedReasoningContent.js} +5 -6
  191. package/dist/serialization/types/SystemMessage.d.ts +2 -2
  192. package/dist/serialization/types/SystemMessage.js +2 -2
  193. package/dist/serialization/types/TagSchema.d.ts +12 -0
  194. package/dist/serialization/types/TagSchema.js +43 -0
  195. package/dist/serialization/types/ToolCallContent.d.ts +15 -0
  196. package/dist/serialization/types/ToolCallContent.js +46 -0
  197. package/dist/serialization/types/ToolCallMessage.d.ts +1 -0
  198. package/dist/serialization/types/ToolCallMessage.js +1 -0
  199. package/dist/serialization/types/ToolEnvVarSchema.d.ts +17 -0
  200. package/dist/serialization/types/ToolEnvVarSchema.js +48 -0
  201. package/dist/serialization/types/ToolJsonSchema.d.ts +17 -0
  202. package/dist/serialization/types/ToolJsonSchema.js +48 -0
  203. package/dist/serialization/types/ToolReturnContent.d.ts +15 -0
  204. package/dist/serialization/types/ToolReturnContent.js +46 -0
  205. package/dist/serialization/types/ToolReturnMessage.d.ts +1 -0
  206. package/dist/serialization/types/ToolReturnMessage.js +1 -0
  207. package/dist/serialization/types/ToolRuleSchema.d.ts +13 -0
  208. package/dist/serialization/types/ToolRuleSchema.js +44 -0
  209. package/dist/serialization/types/ToolSchema.d.ts +24 -0
  210. package/dist/serialization/types/ToolSchema.js +55 -0
  211. package/dist/serialization/types/UpdateSystemMessage.d.ts +1 -2
  212. package/dist/serialization/types/UpdateSystemMessage.js +1 -2
  213. package/dist/serialization/types/UserMessage.d.ts +1 -0
  214. package/dist/serialization/types/UserMessage.js +1 -0
  215. package/dist/serialization/types/index.d.ts +18 -2
  216. package/dist/serialization/types/index.js +18 -2
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +1 -1
  220. package/reference.md +38 -18
  221. package/serialization/types/AgentSchema.d.ts +40 -0
  222. package/serialization/types/AgentSchema.js +71 -0
  223. package/serialization/types/AssistantMessage.d.ts +1 -0
  224. package/serialization/types/AssistantMessage.js +1 -0
  225. package/serialization/types/CoreMemoryBlockSchema.d.ts +22 -0
  226. package/serialization/types/CoreMemoryBlockSchema.js +53 -0
  227. package/serialization/types/LettaMessageContentUnion.d.ts +15 -0
  228. package/serialization/types/LettaMessageContentUnion.js +52 -0
  229. package/serialization/types/Message.d.ts +2 -2
  230. package/serialization/types/Message.js +2 -2
  231. package/serialization/types/MessageContentItem.d.ts +16 -0
  232. package/serialization/types/MessageContentItem.js +54 -0
  233. package/serialization/types/MessageCreateContent.d.ts +2 -2
  234. package/serialization/types/MessageCreateContent.js +5 -2
  235. package/serialization/types/MessageSchema.d.ts +23 -0
  236. package/serialization/types/MessageSchema.js +54 -0
  237. package/serialization/types/OmittedReasoningContent.d.ts +13 -0
  238. package/serialization/types/OmittedReasoningContent.js +44 -0
  239. package/serialization/types/ParameterProperties.d.ts +13 -0
  240. package/serialization/types/ParameterProperties.js +44 -0
  241. package/serialization/types/ParametersSchema.d.ts +15 -0
  242. package/serialization/types/ParametersSchema.js +46 -0
  243. package/serialization/types/ReasoningContent.d.ts +15 -0
  244. package/serialization/types/ReasoningContent.js +46 -0
  245. package/serialization/types/ReasoningMessage.d.ts +3 -0
  246. package/serialization/types/ReasoningMessage.js +3 -0
  247. package/serialization/types/ReasoningMessageSource.d.ts +10 -0
  248. package/serialization/types/ReasoningMessageSource.js +41 -0
  249. package/serialization/types/RedactedReasoningContent.d.ts +13 -0
  250. package/serialization/types/RedactedReasoningContent.js +44 -0
  251. package/serialization/types/SystemMessage.d.ts +2 -2
  252. package/serialization/types/SystemMessage.js +2 -2
  253. package/serialization/types/TagSchema.d.ts +12 -0
  254. package/serialization/types/TagSchema.js +43 -0
  255. package/serialization/types/ToolCallContent.d.ts +15 -0
  256. package/serialization/types/ToolCallContent.js +46 -0
  257. package/serialization/types/ToolCallMessage.d.ts +1 -0
  258. package/serialization/types/ToolCallMessage.js +1 -0
  259. package/serialization/types/ToolEnvVarSchema.d.ts +17 -0
  260. package/serialization/types/ToolEnvVarSchema.js +48 -0
  261. package/serialization/types/ToolJsonSchema.d.ts +17 -0
  262. package/serialization/types/ToolJsonSchema.js +48 -0
  263. package/serialization/types/ToolReturnContent.d.ts +15 -0
  264. package/serialization/types/ToolReturnContent.js +46 -0
  265. package/serialization/types/ToolReturnMessage.d.ts +1 -0
  266. package/serialization/types/ToolReturnMessage.js +1 -0
  267. package/serialization/types/ToolRuleSchema.d.ts +13 -0
  268. package/serialization/types/ToolRuleSchema.js +44 -0
  269. package/serialization/types/ToolSchema.d.ts +24 -0
  270. package/serialization/types/ToolSchema.js +55 -0
  271. package/serialization/types/UpdateSystemMessage.d.ts +1 -2
  272. package/serialization/types/UpdateSystemMessage.js +1 -2
  273. package/serialization/types/UserMessage.d.ts +1 -0
  274. package/serialization/types/UserMessage.js +1 -0
  275. package/serialization/types/index.d.ts +18 -2
  276. package/serialization/types/index.js +18 -2
  277. package/version.d.ts +1 -1
  278. package/version.js +1 -1
  279. package/api/types/SystemMessageContent.d.ts +0 -8
  280. package/api/types/UpdateSystemMessageContent.d.ts +0 -8
  281. package/dist/api/types/SystemMessageContent.d.ts +0 -8
  282. package/dist/api/types/UpdateSystemMessageContent.d.ts +0 -8
  283. package/dist/serialization/types/SystemMessageContent.d.ts +0 -11
  284. package/dist/serialization/types/UpdateSystemMessageContent.d.ts +0 -11
  285. package/serialization/types/SystemMessageContent.d.ts +0 -11
  286. package/serialization/types/UpdateSystemMessageContent.d.ts +0 -11
  287. /package/api/resources/agents/client/requests/{BodyUploadAgentSerialized.js → BodyImportAgentSerialized.js} +0 -0
  288. /package/api/types/{SystemMessageContent.js → AgentSchema.js} +0 -0
  289. /package/api/types/{UpdateSystemMessageContent.js → CoreMemoryBlockSchema.js} +0 -0
  290. /package/{dist/api/resources/agents/client/requests/BodyUploadAgentSerialized.js → api/types/LettaMessageContentUnion.js} +0 -0
  291. /package/{dist/api/types/SystemMessageContent.js → api/types/MessageContentItem.js} +0 -0
  292. /package/{dist/api/types/UpdateSystemMessageContent.js → api/types/MessageSchema.js} +0 -0
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ParameterProperties } from "./ParameterProperties";
8
+ export declare const ParametersSchema: core.serialization.ObjectSchema<serializers.ParametersSchema.Raw, Letta.ParametersSchema>;
9
+ export declare namespace ParametersSchema {
10
+ interface Raw {
11
+ type?: string | null;
12
+ properties: Record<string, ParameterProperties.Raw>;
13
+ required?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ParametersSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ParameterProperties_1 = require("./ParameterProperties");
42
+ exports.ParametersSchema = core.serialization.object({
43
+ type: core.serialization.string().optional(),
44
+ properties: core.serialization.record(core.serialization.string(), ParameterProperties_1.ParameterProperties),
45
+ required: core.serialization.list(core.serialization.string()).optional(),
46
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ReasoningContent: core.serialization.ObjectSchema<serializers.ReasoningContent.Raw, Letta.ReasoningContent>;
8
+ export declare namespace ReasoningContent {
9
+ interface Raw {
10
+ type: "reasoning";
11
+ is_native: boolean;
12
+ reasoning: string;
13
+ signature?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ReasoningContent = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ReasoningContent = core.serialization.object({
42
+ type: core.serialization.stringLiteral("reasoning"),
43
+ isNative: core.serialization.property("is_native", core.serialization.boolean()),
44
+ reasoning: core.serialization.string(),
45
+ signature: core.serialization.string().optional(),
46
+ });
@@ -4,12 +4,15 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { ReasoningMessageSource } from "./ReasoningMessageSource";
7
8
  export declare const ReasoningMessage: core.serialization.ObjectSchema<serializers.ReasoningMessage.Raw, Letta.ReasoningMessage>;
8
9
  export declare namespace ReasoningMessage {
9
10
  interface Raw {
10
11
  id: string;
11
12
  date: string;
13
+ name?: string | null;
12
14
  message_type: "reasoning_message";
15
+ source?: ReasoningMessageSource.Raw | null;
13
16
  reasoning: string;
14
17
  }
15
18
  }
@@ -38,9 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ReasoningMessage = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const ReasoningMessageSource_1 = require("./ReasoningMessageSource");
41
42
  exports.ReasoningMessage = core.serialization.object({
42
43
  id: core.serialization.string(),
43
44
  date: core.serialization.date(),
45
+ name: core.serialization.string().optional(),
44
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("reasoning_message")),
47
+ source: ReasoningMessageSource_1.ReasoningMessageSource.optional(),
45
48
  reasoning: core.serialization.string(),
46
49
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ReasoningMessageSource: core.serialization.Schema<serializers.ReasoningMessageSource.Raw, Letta.ReasoningMessageSource>;
8
+ export declare namespace ReasoningMessageSource {
9
+ type Raw = "reasoner_model" | "non_reasoner_model";
10
+ }
@@ -36,10 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.UpdateSystemMessageContent = void 0;
39
+ exports.ReasoningMessageSource = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- const ComponentsSchemasTextContent_1 = require("./ComponentsSchemasTextContent");
42
- exports.UpdateSystemMessageContent = core.serialization.undiscriminatedUnion([
43
- core.serialization.list(ComponentsSchemasTextContent_1.ComponentsSchemasTextContent),
44
- core.serialization.string(),
45
- ]);
41
+ exports.ReasoningMessageSource = core.serialization.enum_(["reasoner_model", "non_reasoner_model"]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const RedactedReasoningContent: core.serialization.ObjectSchema<serializers.RedactedReasoningContent.Raw, Letta.RedactedReasoningContent>;
8
+ export declare namespace RedactedReasoningContent {
9
+ interface Raw {
10
+ type: "redacted_reasoning";
11
+ data: string;
12
+ }
13
+ }
@@ -36,10 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.UpdateSystemMessageContent = void 0;
39
+ exports.RedactedReasoningContent = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- const ComponentsSchemasTextContent_1 = require("./ComponentsSchemasTextContent");
42
- exports.UpdateSystemMessageContent = core.serialization.undiscriminatedUnion([
43
- core.serialization.list(ComponentsSchemasTextContent_1.ComponentsSchemasTextContent),
44
- core.serialization.string(),
45
- ]);
41
+ exports.RedactedReasoningContent = core.serialization.object({
42
+ type: core.serialization.stringLiteral("redacted_reasoning"),
43
+ data: core.serialization.string(),
44
+ });
@@ -4,13 +4,13 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Letta from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { SystemMessageContent } from "./SystemMessageContent";
8
7
  export declare const SystemMessage: core.serialization.ObjectSchema<serializers.SystemMessage.Raw, Letta.SystemMessage>;
9
8
  export declare namespace SystemMessage {
10
9
  interface Raw {
11
10
  id: string;
12
11
  date: string;
12
+ name?: string | null;
13
13
  message_type: "system_message";
14
- content: SystemMessageContent.Raw;
14
+ content: string;
15
15
  }
16
16
  }
@@ -38,10 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SystemMessage = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- const SystemMessageContent_1 = require("./SystemMessageContent");
42
41
  exports.SystemMessage = core.serialization.object({
43
42
  id: core.serialization.string(),
44
43
  date: core.serialization.date(),
44
+ name: core.serialization.string().optional(),
45
45
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("system_message")),
46
- content: SystemMessageContent_1.SystemMessageContent,
46
+ content: core.serialization.string(),
47
47
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const TagSchema: core.serialization.ObjectSchema<serializers.TagSchema.Raw, Letta.TagSchema>;
8
+ export declare namespace TagSchema {
9
+ interface Raw {
10
+ tag: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TagSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TagSchema = core.serialization.object({
42
+ tag: core.serialization.string(),
43
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ToolCallContent: core.serialization.ObjectSchema<serializers.ToolCallContent.Raw, Letta.ToolCallContent>;
8
+ export declare namespace ToolCallContent {
9
+ interface Raw {
10
+ type: "tool_return";
11
+ id: string;
12
+ name: string;
13
+ input: Record<string, unknown>;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolCallContent = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ToolCallContent = core.serialization.object({
42
+ type: core.serialization.stringLiteral("tool_return"),
43
+ id: core.serialization.string(),
44
+ name: core.serialization.string(),
45
+ input: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
46
+ });
@@ -10,6 +10,7 @@ export declare namespace ToolCallMessage {
10
10
  interface Raw {
11
11
  id: string;
12
12
  date: string;
13
+ name?: string | null;
13
14
  message_type: "tool_call_message";
14
15
  tool_call: ToolCallMessageToolCall.Raw;
15
16
  }
@@ -42,6 +42,7 @@ const ToolCallMessageToolCall_1 = require("./ToolCallMessageToolCall");
42
42
  exports.ToolCallMessage = core.serialization.object({
43
43
  id: core.serialization.string(),
44
44
  date: core.serialization.date(),
45
+ name: core.serialization.string().optional(),
45
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_call_message")),
46
47
  toolCall: core.serialization.property("tool_call", ToolCallMessageToolCall_1.ToolCallMessageToolCall),
47
48
  });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ToolEnvVarSchema: core.serialization.ObjectSchema<serializers.ToolEnvVarSchema.Raw, Letta.ToolEnvVarSchema>;
8
+ export declare namespace ToolEnvVarSchema {
9
+ interface Raw {
10
+ created_at: string;
11
+ description?: string | null;
12
+ is_deleted: boolean;
13
+ key: string;
14
+ updated_at: string;
15
+ value: string;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolEnvVarSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ToolEnvVarSchema = core.serialization.object({
42
+ createdAt: core.serialization.property("created_at", core.serialization.string()),
43
+ description: core.serialization.string().optional(),
44
+ isDeleted: core.serialization.property("is_deleted", core.serialization.boolean()),
45
+ key: core.serialization.string(),
46
+ updatedAt: core.serialization.property("updated_at", core.serialization.string()),
47
+ value: core.serialization.string(),
48
+ });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ParametersSchema } from "./ParametersSchema";
8
+ export declare const ToolJsonSchema: core.serialization.ObjectSchema<serializers.ToolJsonSchema.Raw, Letta.ToolJsonSchema>;
9
+ export declare namespace ToolJsonSchema {
10
+ interface Raw {
11
+ name: string;
12
+ description: string;
13
+ parameters: ParametersSchema.Raw;
14
+ type?: string | null;
15
+ required?: string[] | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolJsonSchema = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ParametersSchema_1 = require("./ParametersSchema");
42
+ exports.ToolJsonSchema = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ description: core.serialization.string(),
45
+ parameters: ParametersSchema_1.ParametersSchema,
46
+ type: core.serialization.string().optional(),
47
+ required: core.serialization.list(core.serialization.string()).optional(),
48
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ToolReturnContent: core.serialization.ObjectSchema<serializers.ToolReturnContent.Raw, Letta.ToolReturnContent>;
8
+ export declare namespace ToolReturnContent {
9
+ interface Raw {
10
+ type: "tool_return";
11
+ tool_call_id: string;
12
+ content: string;
13
+ is_error: boolean;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ToolReturnContent = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.ToolReturnContent = core.serialization.object({
42
+ type: core.serialization.stringLiteral("tool_return"),
43
+ toolCallId: core.serialization.property("tool_call_id", core.serialization.string()),
44
+ content: core.serialization.string(),
45
+ isError: core.serialization.property("is_error", core.serialization.boolean()),
46
+ });
@@ -10,6 +10,7 @@ export declare namespace ToolReturnMessage {
10
10
  interface Raw {
11
11
  id: string;
12
12
  date: string;
13
+ name?: string | null;
13
14
  message_type: "tool_return_message";
14
15
  tool_return: string;
15
16
  status: ToolReturnMessageStatus.Raw;
@@ -42,6 +42,7 @@ const ToolReturnMessageStatus_1 = require("./ToolReturnMessageStatus");
42
42
  exports.ToolReturnMessage = core.serialization.object({
43
43
  id: core.serialization.string(),
44
44
  date: core.serialization.date(),
45
+ name: core.serialization.string().optional(),
45
46
  messageType: core.serialization.property("message_type", core.serialization.stringLiteral("tool_return_message")),
46
47
  toolReturn: core.serialization.property("tool_return", core.serialization.string()),
47
48
  status: ToolReturnMessageStatus_1.ToolReturnMessageStatus,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Letta from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ToolRuleSchema: core.serialization.ObjectSchema<serializers.ToolRuleSchema.Raw, Letta.ToolRuleSchema>;
8
+ export declare namespace ToolRuleSchema {
9
+ interface Raw {
10
+ tool_name: string;
11
+ type: string;
12
+ }
13
+ }