letta-client 1.0.0a5__py3-none-any.whl → 1.0.0a6__py3-none-any.whl

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.

Potentially problematic release.


This version of letta-client might be problematic. Click here for more details.

Files changed (1539) hide show
  1. letta_client-1.0.0a6.dist-info/METADATA +456 -0
  2. letta_client-1.0.0a6.dist-info/RECORD +420 -0
  3. letta_client-1.0.0a6.dist-info/WHEEL +4 -0
  4. letta_client-1.0.0a6.dist-info/licenses/LICENSE +201 -0
  5. letta_sdk/__init__.py +104 -0
  6. letta_sdk/_base_client.py +1995 -0
  7. letta_sdk/_client.py +679 -0
  8. letta_sdk/_compat.py +219 -0
  9. letta_sdk/_constants.py +14 -0
  10. letta_sdk/_exceptions.py +108 -0
  11. letta_sdk/_files.py +123 -0
  12. letta_sdk/_models.py +835 -0
  13. letta_sdk/_qs.py +150 -0
  14. letta_sdk/_resource.py +43 -0
  15. letta_sdk/_response.py +830 -0
  16. letta_sdk/_streaming.py +333 -0
  17. letta_sdk/_types.py +260 -0
  18. letta_sdk/_utils/__init__.py +64 -0
  19. letta_sdk/_utils/_compat.py +45 -0
  20. letta_sdk/_utils/_datetime_parse.py +136 -0
  21. letta_sdk/_utils/_logs.py +25 -0
  22. letta_sdk/_utils/_proxy.py +65 -0
  23. letta_sdk/_utils/_reflection.py +42 -0
  24. letta_sdk/_utils/_resources_proxy.py +24 -0
  25. letta_sdk/_utils/_streams.py +12 -0
  26. letta_sdk/_utils/_sync.py +86 -0
  27. letta_sdk/_utils/_transform.py +457 -0
  28. letta_sdk/_utils/_typing.py +156 -0
  29. letta_sdk/_utils/_utils.py +421 -0
  30. letta_sdk/_version.py +4 -0
  31. letta_sdk/lib/.keep +4 -0
  32. letta_sdk/resources/__init__.py +327 -0
  33. letta_sdk/resources/_internal_templates/__init__.py +33 -0
  34. letta_sdk/resources/_internal_templates/_internal_templates.py +961 -0
  35. letta_sdk/resources/_internal_templates/deployment.py +268 -0
  36. letta_sdk/resources/agents/__init__.py +117 -0
  37. letta_sdk/resources/agents/agents.py +2501 -0
  38. letta_sdk/resources/agents/archival_memory.py +581 -0
  39. letta_sdk/resources/agents/core_memory/__init__.py +33 -0
  40. letta_sdk/resources/agents/core_memory/blocks.py +627 -0
  41. letta_sdk/resources/agents/core_memory/core_memory.py +278 -0
  42. letta_sdk/resources/agents/files.py +475 -0
  43. letta_sdk/resources/agents/folders.py +332 -0
  44. letta_sdk/resources/agents/messages.py +1712 -0
  45. letta_sdk/resources/agents/sources.py +332 -0
  46. letta_sdk/resources/agents/tools.py +432 -0
  47. letta_sdk/resources/archives.py +325 -0
  48. letta_sdk/resources/blocks.py +1087 -0
  49. letta_sdk/resources/client_side_access_tokens.py +402 -0
  50. letta_sdk/resources/embeddings.py +164 -0
  51. letta_sdk/resources/folders.py +1562 -0
  52. letta_sdk/resources/groups/__init__.py +33 -0
  53. letta_sdk/resources/groups/groups.py +833 -0
  54. letta_sdk/resources/groups/messages.py +949 -0
  55. letta_sdk/resources/health.py +135 -0
  56. letta_sdk/resources/identities.py +1254 -0
  57. letta_sdk/resources/jobs.py +610 -0
  58. letta_sdk/resources/messages/__init__.py +33 -0
  59. letta_sdk/resources/messages/batches.py +646 -0
  60. letta_sdk/resources/messages/messages.py +102 -0
  61. letta_sdk/resources/models.py +300 -0
  62. letta_sdk/resources/projects.py +189 -0
  63. letta_sdk/resources/providers.py +800 -0
  64. letta_sdk/resources/runs.py +1016 -0
  65. letta_sdk/resources/sources/__init__.py +33 -0
  66. letta_sdk/resources/sources/files.py +341 -0
  67. letta_sdk/resources/sources/sources.py +1371 -0
  68. letta_sdk/resources/steps.py +784 -0
  69. letta_sdk/resources/tags.py +240 -0
  70. letta_sdk/resources/telemetry.py +180 -0
  71. letta_sdk/resources/templates.py +1310 -0
  72. letta_sdk/resources/tools/__init__.py +47 -0
  73. letta_sdk/resources/tools/composio/__init__.py +33 -0
  74. letta_sdk/resources/tools/composio/apps.py +214 -0
  75. letta_sdk/resources/tools/composio/composio.py +201 -0
  76. letta_sdk/resources/tools/mcp/__init__.py +47 -0
  77. letta_sdk/resources/tools/mcp/mcp.py +134 -0
  78. letta_sdk/resources/tools/mcp/oauth.py +214 -0
  79. letta_sdk/resources/tools/mcp/servers/__init__.py +33 -0
  80. letta_sdk/resources/tools/mcp/servers/servers.py +1785 -0
  81. letta_sdk/resources/tools/mcp/servers/tools.py +263 -0
  82. letta_sdk/resources/tools/tools.py +1373 -0
  83. letta_sdk/resources/voice_beta/__init__.py +33 -0
  84. letta_sdk/resources/voice_beta/chat.py +170 -0
  85. letta_sdk/resources/voice_beta/voice_beta.py +102 -0
  86. letta_sdk/types/__init__.py +226 -0
  87. letta_sdk/types/_internal_templates/__init__.py +7 -0
  88. letta_sdk/types/_internal_templates/deployment_delete_response.py +17 -0
  89. letta_sdk/types/_internal_templates/deployment_list_entities_params.py +15 -0
  90. letta_sdk/types/_internal_templates/deployment_list_entities_response.py +31 -0
  91. letta_sdk/types/agent_count_response.py +7 -0
  92. letta_sdk/types/agent_create_params.py +215 -0
  93. letta_sdk/types/agent_environment_variable.py +37 -0
  94. letta_sdk/types/agent_export_params.py +17 -0
  95. letta_sdk/types/agent_export_response.py +7 -0
  96. letta_sdk/types/agent_import_params.py +39 -0
  97. letta_sdk/types/agent_import_response.py +12 -0
  98. letta_sdk/types/agent_list_groups_params.py +13 -0
  99. letta_sdk/types/agent_list_groups_response.py +10 -0
  100. letta_sdk/types/agent_list_params.py +78 -0
  101. letta_sdk/types/agent_list_response.py +10 -0
  102. letta_sdk/types/agent_migrate_params.py +19 -0
  103. letta_sdk/types/agent_migrate_response.py +11 -0
  104. letta_sdk/types/agent_reset_messages_params.py +12 -0
  105. letta_sdk/types/agent_retrieve_context_response.py +110 -0
  106. letta_sdk/types/agent_retrieve_params.py +19 -0
  107. letta_sdk/types/agent_search_params.py +78 -0
  108. letta_sdk/types/agent_search_response.py +16 -0
  109. letta_sdk/types/agent_state.py +170 -0
  110. letta_sdk/types/agent_summarize_params.py +12 -0
  111. letta_sdk/types/agent_type.py +16 -0
  112. letta_sdk/types/agent_update_params.py +149 -0
  113. letta_sdk/types/agents/__init__.py +85 -0
  114. letta_sdk/types/agents/approval_create_param.py +22 -0
  115. letta_sdk/types/agents/approval_request_message.py +39 -0
  116. letta_sdk/types/agents/approval_response_message.py +41 -0
  117. letta_sdk/types/agents/archival_memory_create_params.py +23 -0
  118. letta_sdk/types/agents/archival_memory_create_response.py +10 -0
  119. letta_sdk/types/agents/archival_memory_list_params.py +28 -0
  120. letta_sdk/types/agents/archival_memory_list_response.py +10 -0
  121. letta_sdk/types/agents/archival_memory_search_params.py +35 -0
  122. letta_sdk/types/agents/archival_memory_search_response.py +26 -0
  123. letta_sdk/types/agents/assistant_message.py +39 -0
  124. letta_sdk/types/agents/core_memory/__init__.py +7 -0
  125. letta_sdk/types/agents/core_memory/block.py +60 -0
  126. letta_sdk/types/agents/core_memory/block_list_response.py +10 -0
  127. letta_sdk/types/agents/core_memory/block_update_params.py +54 -0
  128. letta_sdk/types/agents/core_memory_retrieve_variables_response.py +11 -0
  129. letta_sdk/types/agents/file_close_all_response.py +8 -0
  130. letta_sdk/types/agents/file_list_params.py +19 -0
  131. letta_sdk/types/agents/file_list_response.py +51 -0
  132. letta_sdk/types/agents/file_open_response.py +8 -0
  133. letta_sdk/types/agents/folder_list_response.py +10 -0
  134. letta_sdk/types/agents/hidden_reasoning_message.py +36 -0
  135. letta_sdk/types/agents/image_content.py +67 -0
  136. letta_sdk/types/agents/image_content_param.py +64 -0
  137. letta_sdk/types/agents/job_status.py +7 -0
  138. letta_sdk/types/agents/job_type.py +7 -0
  139. letta_sdk/types/agents/letta_assistant_message_content_union.py +16 -0
  140. letta_sdk/types/agents/letta_assistant_message_content_union_param.py +15 -0
  141. letta_sdk/types/agents/letta_message_union.py +32 -0
  142. letta_sdk/types/agents/letta_request_param.py +45 -0
  143. letta_sdk/types/agents/letta_response.py +52 -0
  144. letta_sdk/types/agents/letta_streaming_request_param.py +60 -0
  145. letta_sdk/types/agents/letta_user_message_content_union.py +14 -0
  146. letta_sdk/types/agents/letta_user_message_content_union_param.py +13 -0
  147. letta_sdk/types/agents/memory.py +92 -0
  148. letta_sdk/types/agents/message.py +149 -0
  149. letta_sdk/types/agents/message_cancel_params.py +15 -0
  150. letta_sdk/types/agents/message_cancel_response.py +8 -0
  151. letta_sdk/types/agents/message_list_params.py +37 -0
  152. letta_sdk/types/agents/message_list_response.py +10 -0
  153. letta_sdk/types/agents/message_preview_raw_payload_params.py +103 -0
  154. letta_sdk/types/agents/message_preview_raw_payload_response.py +8 -0
  155. letta_sdk/types/agents/message_role.py +7 -0
  156. letta_sdk/types/agents/message_search_params.py +38 -0
  157. letta_sdk/types/agents/message_search_response.py +29 -0
  158. letta_sdk/types/agents/message_send_async_params.py +49 -0
  159. letta_sdk/types/agents/message_send_params.py +46 -0
  160. letta_sdk/types/agents/message_send_stream_params.py +61 -0
  161. letta_sdk/types/agents/message_type.py +17 -0
  162. letta_sdk/types/agents/message_update_params.py +66 -0
  163. letta_sdk/types/agents/message_update_response.py +32 -0
  164. letta_sdk/types/agents/omitted_reasoning_content.py +13 -0
  165. letta_sdk/types/agents/omitted_reasoning_content_param.py +12 -0
  166. letta_sdk/types/agents/reasoning_content.py +25 -0
  167. letta_sdk/types/agents/reasoning_content_param.py +25 -0
  168. letta_sdk/types/agents/reasoning_message.py +38 -0
  169. letta_sdk/types/agents/redacted_reasoning_content.py +16 -0
  170. letta_sdk/types/agents/redacted_reasoning_content_param.py +15 -0
  171. letta_sdk/types/agents/run.py +84 -0
  172. letta_sdk/types/agents/source_list_response.py +10 -0
  173. letta_sdk/types/agents/system_message.py +35 -0
  174. letta_sdk/types/agents/text_content.py +16 -0
  175. letta_sdk/types/agents/text_content_param.py +15 -0
  176. letta_sdk/types/agents/tool_call.py +13 -0
  177. letta_sdk/types/agents/tool_call_content.py +25 -0
  178. letta_sdk/types/agents/tool_call_content_param.py +25 -0
  179. letta_sdk/types/agents/tool_call_delta.py +15 -0
  180. letta_sdk/types/agents/tool_call_message.py +38 -0
  181. letta_sdk/types/agents/tool_list_response.py +10 -0
  182. letta_sdk/types/agents/tool_modify_approval_params.py +13 -0
  183. letta_sdk/types/agents/tool_return.py +19 -0
  184. letta_sdk/types/agents/tool_return_content.py +22 -0
  185. letta_sdk/types/agents/tool_return_content_param.py +21 -0
  186. letta_sdk/types/agents/update_assistant_message_param.py +20 -0
  187. letta_sdk/types/agents/update_reasoning_message_param.py +13 -0
  188. letta_sdk/types/agents/update_system_message_param.py +17 -0
  189. letta_sdk/types/agents/update_user_message_param.py +20 -0
  190. letta_sdk/types/agents/user_message.py +39 -0
  191. letta_sdk/types/archive.py +38 -0
  192. letta_sdk/types/archive_retrieve_params.py +37 -0
  193. letta_sdk/types/archive_retrieve_response.py +10 -0
  194. letta_sdk/types/archive_update_params.py +14 -0
  195. letta_sdk/types/block_count_response.py +7 -0
  196. letta_sdk/types/block_create_params.py +51 -0
  197. letta_sdk/types/block_list_agents_params.py +43 -0
  198. letta_sdk/types/block_list_agents_response.py +10 -0
  199. letta_sdk/types/block_list_params.py +89 -0
  200. letta_sdk/types/block_list_response.py +10 -0
  201. letta_sdk/types/block_update_params.py +52 -0
  202. letta_sdk/types/child_tool_rule.py +21 -0
  203. letta_sdk/types/child_tool_rule_param.py +23 -0
  204. letta_sdk/types/client_side_access_token_create_params.py +32 -0
  205. letta_sdk/types/client_side_access_token_create_response.py +34 -0
  206. letta_sdk/types/client_side_access_token_delete_params.py +11 -0
  207. letta_sdk/types/client_side_access_token_list_params.py +23 -0
  208. letta_sdk/types/client_side_access_token_list_response.py +40 -0
  209. letta_sdk/types/conditional_tool_rule.py +27 -0
  210. letta_sdk/types/conditional_tool_rule_param.py +27 -0
  211. letta_sdk/types/continue_tool_rule.py +18 -0
  212. letta_sdk/types/continue_tool_rule_param.py +18 -0
  213. letta_sdk/types/create_block_param.py +51 -0
  214. letta_sdk/types/duplicate_file_handling.py +7 -0
  215. letta_sdk/types/dynamic_manager_param.py +18 -0
  216. letta_sdk/types/embedding_config.py +60 -0
  217. letta_sdk/types/embedding_config_param.py +62 -0
  218. letta_sdk/types/embedding_get_total_storage_size_response.py +7 -0
  219. letta_sdk/types/file_metadata.py +65 -0
  220. letta_sdk/types/file_processing_status.py +7 -0
  221. letta_sdk/types/folder.py +41 -0
  222. letta_sdk/types/folder_count_response.py +7 -0
  223. letta_sdk/types/folder_create_params.py +33 -0
  224. letta_sdk/types/folder_get_by_name_response.py +7 -0
  225. letta_sdk/types/folder_list_agents_params.py +34 -0
  226. letta_sdk/types/folder_list_agents_response.py +8 -0
  227. letta_sdk/types/folder_list_files_params.py +37 -0
  228. letta_sdk/types/folder_list_files_response.py +10 -0
  229. letta_sdk/types/folder_list_params.py +37 -0
  230. letta_sdk/types/folder_list_passages_params.py +34 -0
  231. letta_sdk/types/folder_list_passages_response.py +10 -0
  232. letta_sdk/types/folder_list_response.py +10 -0
  233. letta_sdk/types/folder_retrieve_metadata_params.py +11 -0
  234. letta_sdk/types/folder_update_params.py +27 -0
  235. letta_sdk/types/folder_upload_file_params.py +21 -0
  236. letta_sdk/types/group.py +61 -0
  237. letta_sdk/types/group_count_response.py +7 -0
  238. letta_sdk/types/group_create_params.py +44 -0
  239. letta_sdk/types/group_list_params.py +42 -0
  240. letta_sdk/types/group_list_response.py +10 -0
  241. letta_sdk/types/group_update_params.py +93 -0
  242. letta_sdk/types/groups/__init__.py +10 -0
  243. letta_sdk/types/groups/message_list_params.py +43 -0
  244. letta_sdk/types/groups/message_list_response.py +10 -0
  245. letta_sdk/types/groups/message_send_params.py +46 -0
  246. letta_sdk/types/groups/message_send_stream_params.py +61 -0
  247. letta_sdk/types/groups/message_update_params.py +66 -0
  248. letta_sdk/types/groups/message_update_response.py +32 -0
  249. letta_sdk/types/health_check_response.py +11 -0
  250. letta_sdk/types/identity.py +35 -0
  251. letta_sdk/types/identity_count_response.py +7 -0
  252. letta_sdk/types/identity_create_params.py +39 -0
  253. letta_sdk/types/identity_list_agents_params.py +34 -0
  254. letta_sdk/types/identity_list_agents_response.py +10 -0
  255. letta_sdk/types/identity_list_blocks_params.py +34 -0
  256. letta_sdk/types/identity_list_blocks_response.py +10 -0
  257. letta_sdk/types/identity_list_params.py +45 -0
  258. letta_sdk/types/identity_list_response.py +10 -0
  259. letta_sdk/types/identity_modify_params.py +32 -0
  260. letta_sdk/types/identity_property.py +19 -0
  261. letta_sdk/types/identity_property_param.py +19 -0
  262. letta_sdk/types/identity_type.py +7 -0
  263. letta_sdk/types/identity_upsert_params.py +39 -0
  264. letta_sdk/types/identity_upsert_properties_params.py +14 -0
  265. letta_sdk/types/init_tool_rule.py +21 -0
  266. letta_sdk/types/init_tool_rule_param.py +21 -0
  267. letta_sdk/types/internal_template_create_agent_params.py +217 -0
  268. letta_sdk/types/internal_template_create_block_params.py +54 -0
  269. letta_sdk/types/internal_template_create_group_params.py +49 -0
  270. letta_sdk/types/job.py +61 -0
  271. letta_sdk/types/job_list_active_params.py +28 -0
  272. letta_sdk/types/job_list_active_response.py +10 -0
  273. letta_sdk/types/job_list_params.py +31 -0
  274. letta_sdk/types/job_list_response.py +10 -0
  275. letta_sdk/types/json_object_response_format.py +13 -0
  276. letta_sdk/types/json_object_response_format_param.py +12 -0
  277. letta_sdk/types/json_schema_response_format.py +16 -0
  278. letta_sdk/types/json_schema_response_format_param.py +16 -0
  279. letta_sdk/types/letta_message_content_union_param.py +26 -0
  280. letta_sdk/types/llm_config.py +110 -0
  281. letta_sdk/types/llm_config_param.py +111 -0
  282. letta_sdk/types/manager_type.py +7 -0
  283. letta_sdk/types/max_count_per_step_tool_rule.py +24 -0
  284. letta_sdk/types/max_count_per_step_tool_rule_param.py +24 -0
  285. letta_sdk/types/message_create_param.py +36 -0
  286. letta_sdk/types/messages/__init__.py +10 -0
  287. letta_sdk/types/messages/batch_create_params.py +64 -0
  288. letta_sdk/types/messages/batch_job.py +60 -0
  289. letta_sdk/types/messages/batch_list_messages_params.py +37 -0
  290. letta_sdk/types/messages/batch_list_messages_response.py +12 -0
  291. letta_sdk/types/messages/batch_list_params.py +34 -0
  292. letta_sdk/types/messages/batch_list_response.py +10 -0
  293. letta_sdk/types/model_list_embedding_response.py +10 -0
  294. letta_sdk/types/model_list_params.py +19 -0
  295. letta_sdk/types/model_list_response.py +10 -0
  296. letta_sdk/types/npm_requirement.py +15 -0
  297. letta_sdk/types/npm_requirement_param.py +16 -0
  298. letta_sdk/types/organization_sources_stats.py +49 -0
  299. letta_sdk/types/parent_tool_rule.py +21 -0
  300. letta_sdk/types/parent_tool_rule_param.py +23 -0
  301. letta_sdk/types/passage.py +56 -0
  302. letta_sdk/types/pip_requirement.py +15 -0
  303. letta_sdk/types/pip_requirement_param.py +16 -0
  304. letta_sdk/types/project_list_params.py +16 -0
  305. letta_sdk/types/project_list_response.py +23 -0
  306. letta_sdk/types/provider.py +42 -0
  307. letta_sdk/types/provider_category.py +7 -0
  308. letta_sdk/types/provider_check_params.py +30 -0
  309. letta_sdk/types/provider_create_params.py +33 -0
  310. letta_sdk/types/provider_list_params.py +42 -0
  311. letta_sdk/types/provider_list_response.py +10 -0
  312. letta_sdk/types/provider_trace.py +34 -0
  313. letta_sdk/types/provider_type.py +25 -0
  314. letta_sdk/types/provider_update_params.py +25 -0
  315. letta_sdk/types/required_before_exit_tool_rule.py +18 -0
  316. letta_sdk/types/required_before_exit_tool_rule_param.py +18 -0
  317. letta_sdk/types/requires_approval_tool_rule.py +21 -0
  318. letta_sdk/types/requires_approval_tool_rule_param.py +21 -0
  319. letta_sdk/types/round_robin_manager_param.py +14 -0
  320. letta_sdk/types/run_list_active_params.py +18 -0
  321. letta_sdk/types/run_list_active_response.py +10 -0
  322. letta_sdk/types/run_list_messages_params.py +31 -0
  323. letta_sdk/types/run_list_messages_response.py +10 -0
  324. letta_sdk/types/run_list_params.py +40 -0
  325. letta_sdk/types/run_list_response.py +10 -0
  326. letta_sdk/types/run_list_steps_params.py +25 -0
  327. letta_sdk/types/run_list_steps_response.py +10 -0
  328. letta_sdk/types/run_retrieve_stream_params.py +28 -0
  329. letta_sdk/types/run_retrieve_usage_response.py +27 -0
  330. letta_sdk/types/sleeptime_manager_param.py +16 -0
  331. letta_sdk/types/source.py +45 -0
  332. letta_sdk/types/source_count_response.py +7 -0
  333. letta_sdk/types/source_create_params.py +33 -0
  334. letta_sdk/types/source_get_agents_response.py +8 -0
  335. letta_sdk/types/source_get_by_name_response.py +7 -0
  336. letta_sdk/types/source_get_metadata_params.py +11 -0
  337. letta_sdk/types/source_list_passages_params.py +19 -0
  338. letta_sdk/types/source_list_passages_response.py +10 -0
  339. letta_sdk/types/source_list_response.py +10 -0
  340. letta_sdk/types/source_update_params.py +27 -0
  341. letta_sdk/types/source_upload_file_params.py +21 -0
  342. letta_sdk/types/sources/__init__.py +7 -0
  343. letta_sdk/types/sources/file_list_params.py +26 -0
  344. letta_sdk/types/sources/file_list_response.py +10 -0
  345. letta_sdk/types/sources/file_retrieve_params.py +14 -0
  346. letta_sdk/types/step.py +92 -0
  347. letta_sdk/types/step_list_messages_params.py +34 -0
  348. letta_sdk/types/step_list_messages_response.py +34 -0
  349. letta_sdk/types/step_list_params.py +61 -0
  350. letta_sdk/types/step_list_response.py +10 -0
  351. letta_sdk/types/step_retrieve_metrics_response.py +45 -0
  352. letta_sdk/types/step_update_feedback_params.py +18 -0
  353. letta_sdk/types/stop_reason_type.py +18 -0
  354. letta_sdk/types/supervisor_manager_param.py +13 -0
  355. letta_sdk/types/tag_list_params.py +40 -0
  356. letta_sdk/types/tag_list_response.py +8 -0
  357. letta_sdk/types/template_create_agents_params.py +52 -0
  358. letta_sdk/types/template_create_agents_response.py +12 -0
  359. letta_sdk/types/template_create_params.py +40 -0
  360. letta_sdk/types/template_create_response.py +29 -0
  361. letta_sdk/types/template_delete_response.py +9 -0
  362. letta_sdk/types/template_fork_params.py +17 -0
  363. letta_sdk/types/template_fork_response.py +29 -0
  364. letta_sdk/types/template_get_snapshot_response.py +258 -0
  365. letta_sdk/types/template_list_params.py +34 -0
  366. letta_sdk/types/template_list_response.py +35 -0
  367. letta_sdk/types/template_list_versions_params.py +16 -0
  368. letta_sdk/types/template_list_versions_response.py +29 -0
  369. letta_sdk/types/template_rename_params.py +14 -0
  370. letta_sdk/types/template_rename_response.py +9 -0
  371. letta_sdk/types/template_save_version_params.py +32 -0
  372. letta_sdk/types/template_save_version_response.py +29 -0
  373. letta_sdk/types/template_update_description_params.py +14 -0
  374. letta_sdk/types/template_update_description_response.py +9 -0
  375. letta_sdk/types/terminal_tool_rule.py +18 -0
  376. letta_sdk/types/terminal_tool_rule_param.py +18 -0
  377. letta_sdk/types/text_response_format.py +13 -0
  378. letta_sdk/types/text_response_format_param.py +12 -0
  379. letta_sdk/types/tool.py +62 -0
  380. letta_sdk/types/tool_count_params.py +35 -0
  381. letta_sdk/types/tool_count_response.py +7 -0
  382. letta_sdk/types/tool_create_params.py +47 -0
  383. letta_sdk/types/tool_list_params.py +57 -0
  384. letta_sdk/types/tool_list_response.py +10 -0
  385. letta_sdk/types/tool_modify_params.py +51 -0
  386. letta_sdk/types/tool_return_message.py +42 -0
  387. letta_sdk/types/tool_run_params.py +43 -0
  388. letta_sdk/types/tool_type.py +19 -0
  389. letta_sdk/types/tool_upsert_base_response.py +10 -0
  390. letta_sdk/types/tool_upsert_params.py +47 -0
  391. letta_sdk/types/tools/__init__.py +3 -0
  392. letta_sdk/types/tools/composio/__init__.py +6 -0
  393. letta_sdk/types/tools/composio/app_list_actions_response.py +70 -0
  394. letta_sdk/types/tools/composio/app_list_response.py +103 -0
  395. letta_sdk/types/tools/mcp/__init__.py +21 -0
  396. letta_sdk/types/tools/mcp/mcp_server_type.py +7 -0
  397. letta_sdk/types/tools/mcp/oauth_callback_params.py +22 -0
  398. letta_sdk/types/tools/mcp/server_add_params.py +68 -0
  399. letta_sdk/types/tools/mcp/server_add_response.py +14 -0
  400. letta_sdk/types/tools/mcp/server_connect_params.py +68 -0
  401. letta_sdk/types/tools/mcp/server_delete_response.py +14 -0
  402. letta_sdk/types/tools/mcp/server_list_response.py +14 -0
  403. letta_sdk/types/tools/mcp/server_resync_params.py +12 -0
  404. letta_sdk/types/tools/mcp/server_test_params.py +68 -0
  405. letta_sdk/types/tools/mcp/server_update_params.py +43 -0
  406. letta_sdk/types/tools/mcp/server_update_response.py +12 -0
  407. letta_sdk/types/tools/mcp/servers/__init__.py +6 -0
  408. letta_sdk/types/tools/mcp/servers/tool_execute_params.py +15 -0
  409. letta_sdk/types/tools/mcp/servers/tool_list_response.py +85 -0
  410. letta_sdk/types/tools/mcp/sse_server_config.py +27 -0
  411. letta_sdk/types/tools/mcp/sse_server_config_param.py +29 -0
  412. letta_sdk/types/tools/mcp/stdio_server_config.py +24 -0
  413. letta_sdk/types/tools/mcp/stdio_server_config_param.py +27 -0
  414. letta_sdk/types/tools/mcp/streamable_http_server_config.py +27 -0
  415. letta_sdk/types/tools/mcp/streamable_http_server_config_param.py +29 -0
  416. letta_sdk/types/vector_db_provider.py +7 -0
  417. letta_sdk/types/voice_beta/__init__.py +5 -0
  418. letta_sdk/types/voice_beta/chat_create_completion_params.py +12 -0
  419. letta_sdk/types/voice_sleeptime_manager_param.py +27 -0
  420. letta_client/__init__.py +0 -1802
  421. letta_client/agents/__init__.py +0 -83
  422. letta_client/agents/blocks/__init__.py +0 -7
  423. letta_client/agents/blocks/client.py +0 -679
  424. letta_client/agents/blocks/raw_client.py +0 -769
  425. letta_client/agents/blocks/types/__init__.py +0 -7
  426. letta_client/agents/blocks/types/blocks_list_request_order.py +0 -5
  427. letta_client/agents/client.py +0 -1945
  428. letta_client/agents/context/__init__.py +0 -4
  429. letta_client/agents/context/client.py +0 -116
  430. letta_client/agents/context/raw_client.py +0 -124
  431. letta_client/agents/core_memory/__init__.py +0 -4
  432. letta_client/agents/core_memory/client.py +0 -114
  433. letta_client/agents/core_memory/raw_client.py +0 -126
  434. letta_client/agents/files/__init__.py +0 -7
  435. letta_client/agents/files/client.py +0 -473
  436. letta_client/agents/files/raw_client.py +0 -541
  437. letta_client/agents/files/types/__init__.py +0 -7
  438. letta_client/agents/files/types/files_list_request_order.py +0 -5
  439. letta_client/agents/folders/__init__.py +0 -7
  440. letta_client/agents/folders/client.py +0 -356
  441. letta_client/agents/folders/raw_client.py +0 -398
  442. letta_client/agents/folders/types/__init__.py +0 -7
  443. letta_client/agents/folders/types/folders_list_request_order.py +0 -5
  444. letta_client/agents/groups/__init__.py +0 -7
  445. letta_client/agents/groups/client.py +0 -199
  446. letta_client/agents/groups/raw_client.py +0 -195
  447. letta_client/agents/groups/types/__init__.py +0 -7
  448. letta_client/agents/groups/types/groups_list_request_order.py +0 -5
  449. letta_client/agents/memory_variables/__init__.py +0 -7
  450. letta_client/agents/memory_variables/client.py +0 -118
  451. letta_client/agents/memory_variables/raw_client.py +0 -125
  452. letta_client/agents/memory_variables/types/__init__.py +0 -7
  453. letta_client/agents/memory_variables/types/memory_variables_list_response.py +0 -20
  454. letta_client/agents/messages/__init__.py +0 -23
  455. letta_client/agents/messages/client.py +0 -1514
  456. letta_client/agents/messages/raw_client.py +0 -1731
  457. letta_client/agents/messages/types/__init__.py +0 -21
  458. letta_client/agents/messages/types/letta_async_request_messages_item.py +0 -8
  459. letta_client/agents/messages/types/letta_streaming_response.py +0 -31
  460. letta_client/agents/messages/types/message_search_request_search_mode.py +0 -5
  461. letta_client/agents/messages/types/messages_list_request_order.py +0 -5
  462. letta_client/agents/messages/types/messages_modify_request.py +0 -12
  463. letta_client/agents/messages/types/messages_modify_response.py +0 -25
  464. letta_client/agents/messages/types/messages_preview_request.py +0 -8
  465. letta_client/agents/passages/__init__.py +0 -7
  466. letta_client/agents/passages/client.py +0 -637
  467. letta_client/agents/passages/raw_client.py +0 -685
  468. letta_client/agents/passages/types/__init__.py +0 -7
  469. letta_client/agents/passages/types/passages_search_request_tag_match_mode.py +0 -5
  470. letta_client/agents/raw_client.py +0 -2145
  471. letta_client/agents/sources/__init__.py +0 -7
  472. letta_client/agents/sources/client.py +0 -356
  473. letta_client/agents/sources/raw_client.py +0 -398
  474. letta_client/agents/sources/types/__init__.py +0 -7
  475. letta_client/agents/sources/types/sources_list_request_order.py +0 -5
  476. letta_client/agents/tools/__init__.py +0 -7
  477. letta_client/agents/tools/client.py +0 -458
  478. letta_client/agents/tools/raw_client.py +0 -522
  479. letta_client/agents/tools/types/__init__.py +0 -7
  480. letta_client/agents/tools/types/tools_list_request_order.py +0 -5
  481. letta_client/agents/types/__init__.py +0 -37
  482. letta_client/agents/types/agents_list_request_order.py +0 -5
  483. letta_client/agents/types/agents_list_request_order_by.py +0 -5
  484. letta_client/agents/types/agents_search_request_search_item.py +0 -17
  485. letta_client/agents/types/agents_search_request_search_item_field.py +0 -22
  486. letta_client/agents/types/agents_search_request_search_item_one.py +0 -23
  487. letta_client/agents/types/agents_search_request_search_item_one_operator.py +0 -5
  488. letta_client/agents/types/agents_search_request_search_item_three.py +0 -22
  489. letta_client/agents/types/agents_search_request_search_item_two.py +0 -22
  490. letta_client/agents/types/agents_search_request_search_item_zero.py +0 -21
  491. letta_client/agents/types/agents_search_request_sort_by.py +0 -5
  492. letta_client/agents/types/agents_search_response.py +0 -24
  493. letta_client/agents/types/create_agent_request_response_format.py +0 -9
  494. letta_client/agents/types/create_agent_request_tool_rules_item.py +0 -25
  495. letta_client/agents/types/update_agent_response_format.py +0 -9
  496. letta_client/agents/types/update_agent_tool_rules_item.py +0 -25
  497. letta_client/archives/__init__.py +0 -7
  498. letta_client/archives/client.py +0 -378
  499. letta_client/archives/raw_client.py +0 -450
  500. letta_client/archives/types/__init__.py +0 -7
  501. letta_client/archives/types/list_archives_request_order.py +0 -5
  502. letta_client/base_client.py +0 -224
  503. letta_client/batches/__init__.py +0 -9
  504. letta_client/batches/client.py +0 -449
  505. letta_client/batches/messages/__init__.py +0 -7
  506. letta_client/batches/messages/client.py +0 -197
  507. letta_client/batches/messages/raw_client.py +0 -193
  508. letta_client/batches/messages/types/__init__.py +0 -7
  509. letta_client/batches/messages/types/messages_list_request_order.py +0 -5
  510. letta_client/batches/raw_client.py +0 -522
  511. letta_client/batches/types/__init__.py +0 -7
  512. letta_client/batches/types/batches_list_request_order.py +0 -5
  513. letta_client/blocks/__init__.py +0 -9
  514. letta_client/blocks/agents/__init__.py +0 -7
  515. letta_client/blocks/agents/client.py +0 -199
  516. letta_client/blocks/agents/raw_client.py +0 -197
  517. letta_client/blocks/agents/types/__init__.py +0 -7
  518. letta_client/blocks/agents/types/agents_list_request_order.py +0 -5
  519. letta_client/blocks/client.py +0 -957
  520. letta_client/blocks/raw_client.py +0 -1080
  521. letta_client/blocks/types/__init__.py +0 -7
  522. letta_client/blocks/types/blocks_list_request_order.py +0 -5
  523. letta_client/chat/__init__.py +0 -7
  524. letta_client/chat/client.py +0 -255
  525. letta_client/chat/raw_client.py +0 -269
  526. letta_client/chat/types/__init__.py +0 -8
  527. letta_client/chat/types/chat_completion_request_messages_item.py +0 -19
  528. letta_client/chat/types/chat_completion_request_stop.py +0 -5
  529. letta_client/client.py +0 -706
  530. letta_client/client_side_access_tokens/__init__.py +0 -31
  531. letta_client/client_side_access_tokens/client.py +0 -361
  532. letta_client/client_side_access_tokens/raw_client.py +0 -435
  533. letta_client/client_side_access_tokens/types/__init__.py +0 -45
  534. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_request_policy_item.py +0 -25
  535. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_request_policy_item_access_item.py +0 -7
  536. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response.py +0 -26
  537. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy.py +0 -24
  538. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item.py +0 -25
  539. letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py +0 -7
  540. letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response.py +0 -26
  541. letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item.py +0 -28
  542. letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy.py +0 -24
  543. letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item.py +0 -25
  544. letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item_access_item.py +0 -7
  545. letta_client/core/__init__.py +0 -56
  546. letta_client/core/api_error.py +0 -23
  547. letta_client/core/client_wrapper.py +0 -86
  548. letta_client/core/datetime_utils.py +0 -28
  549. letta_client/core/file.py +0 -67
  550. letta_client/core/force_multipart.py +0 -16
  551. letta_client/core/http_client.py +0 -543
  552. letta_client/core/http_response.py +0 -55
  553. letta_client/core/jsonable_encoder.py +0 -100
  554. letta_client/core/pydantic_utilities.py +0 -255
  555. letta_client/core/query_encoder.py +0 -58
  556. letta_client/core/remove_none_from_dict.py +0 -11
  557. letta_client/core/request_options.py +0 -35
  558. letta_client/core/serialization.py +0 -276
  559. letta_client/core/unchecked_base_model.py +0 -341
  560. letta_client/environment.py +0 -8
  561. letta_client/errors/__init__.py +0 -21
  562. letta_client/errors/bad_request_error.py +0 -10
  563. letta_client/errors/conflict_error.py +0 -11
  564. letta_client/errors/gone_error.py +0 -10
  565. letta_client/errors/internal_server_error.py +0 -10
  566. letta_client/errors/not_found_error.py +0 -10
  567. letta_client/errors/payment_required_error.py +0 -11
  568. letta_client/errors/unprocessable_entity_error.py +0 -11
  569. letta_client/folders/__init__.py +0 -19
  570. letta_client/folders/agents/__init__.py +0 -7
  571. letta_client/folders/agents/client.py +0 -184
  572. letta_client/folders/agents/raw_client.py +0 -182
  573. letta_client/folders/agents/types/__init__.py +0 -7
  574. letta_client/folders/agents/types/agents_list_request_order.py +0 -5
  575. letta_client/folders/client.py +0 -869
  576. letta_client/folders/files/__init__.py +0 -7
  577. letta_client/folders/files/client.py +0 -390
  578. letta_client/folders/files/raw_client.py +0 -432
  579. letta_client/folders/files/types/__init__.py +0 -7
  580. letta_client/folders/files/types/files_list_request_order.py +0 -5
  581. letta_client/folders/passages/__init__.py +0 -7
  582. letta_client/folders/passages/client.py +0 -185
  583. letta_client/folders/passages/raw_client.py +0 -183
  584. letta_client/folders/passages/types/__init__.py +0 -7
  585. letta_client/folders/passages/types/passages_list_request_order.py +0 -5
  586. letta_client/folders/raw_client.py +0 -1063
  587. letta_client/folders/types/__init__.py +0 -7
  588. letta_client/folders/types/folders_list_request_order.py +0 -5
  589. letta_client/groups/__init__.py +0 -18
  590. letta_client/groups/client.py +0 -696
  591. letta_client/groups/messages/__init__.py +0 -7
  592. letta_client/groups/messages/client.py +0 -812
  593. letta_client/groups/messages/raw_client.py +0 -925
  594. letta_client/groups/messages/types/__init__.py +0 -10
  595. letta_client/groups/messages/types/letta_streaming_response.py +0 -21
  596. letta_client/groups/messages/types/messages_list_request_order.py +0 -5
  597. letta_client/groups/messages/types/messages_modify_request.py +0 -12
  598. letta_client/groups/messages/types/messages_modify_response.py +0 -25
  599. letta_client/groups/raw_client.py +0 -844
  600. letta_client/groups/types/__init__.py +0 -9
  601. letta_client/groups/types/group_create_manager_config.py +0 -13
  602. letta_client/groups/types/group_update_manager_config.py +0 -17
  603. letta_client/groups/types/groups_list_request_order.py +0 -5
  604. letta_client/health/__init__.py +0 -4
  605. letta_client/health/client.py +0 -98
  606. letta_client/health/raw_client.py +0 -85
  607. letta_client/identities/__init__.py +0 -17
  608. letta_client/identities/agents/__init__.py +0 -7
  609. letta_client/identities/agents/client.py +0 -187
  610. letta_client/identities/agents/raw_client.py +0 -185
  611. letta_client/identities/agents/types/__init__.py +0 -7
  612. letta_client/identities/agents/types/agents_list_request_order.py +0 -5
  613. letta_client/identities/blocks/__init__.py +0 -7
  614. letta_client/identities/blocks/client.py +0 -187
  615. letta_client/identities/blocks/raw_client.py +0 -185
  616. letta_client/identities/blocks/types/__init__.py +0 -7
  617. letta_client/identities/blocks/types/blocks_list_request_order.py +0 -5
  618. letta_client/identities/client.py +0 -879
  619. letta_client/identities/properties/__init__.py +0 -4
  620. letta_client/identities/properties/client.py +0 -141
  621. letta_client/identities/properties/raw_client.py +0 -154
  622. letta_client/identities/raw_client.py +0 -1043
  623. letta_client/identities/types/__init__.py +0 -7
  624. letta_client/identities/types/identities_list_request_order.py +0 -5
  625. letta_client/jobs/__init__.py +0 -7
  626. letta_client/jobs/client.py +0 -569
  627. letta_client/jobs/raw_client.py +0 -659
  628. letta_client/jobs/types/__init__.py +0 -7
  629. letta_client/jobs/types/jobs_list_request_order.py +0 -5
  630. letta_client/models/__init__.py +0 -7
  631. letta_client/models/client.py +0 -205
  632. letta_client/models/embeddings/__init__.py +0 -4
  633. letta_client/models/embeddings/client.py +0 -102
  634. letta_client/models/embeddings/raw_client.py +0 -117
  635. letta_client/models/raw_client.py +0 -201
  636. letta_client/projects/__init__.py +0 -7
  637. letta_client/projects/client.py +0 -136
  638. letta_client/projects/raw_client.py +0 -125
  639. letta_client/projects/types/__init__.py +0 -8
  640. letta_client/projects/types/projects_list_response.py +0 -24
  641. letta_client/projects/types/projects_list_response_projects_item.py +0 -22
  642. letta_client/providers/__init__.py +0 -7
  643. letta_client/providers/client.py +0 -863
  644. letta_client/providers/raw_client.py +0 -1031
  645. letta_client/providers/types/__init__.py +0 -7
  646. letta_client/providers/types/providers_list_request_order.py +0 -5
  647. letta_client/runs/__init__.py +0 -18
  648. letta_client/runs/client.py +0 -711
  649. letta_client/runs/messages/__init__.py +0 -7
  650. letta_client/runs/messages/client.py +0 -185
  651. letta_client/runs/messages/raw_client.py +0 -183
  652. letta_client/runs/messages/types/__init__.py +0 -7
  653. letta_client/runs/messages/types/messages_list_request_order.py +0 -5
  654. letta_client/runs/raw_client.py +0 -858
  655. letta_client/runs/steps/__init__.py +0 -7
  656. letta_client/runs/steps/client.py +0 -185
  657. letta_client/runs/steps/raw_client.py +0 -183
  658. letta_client/runs/steps/types/__init__.py +0 -7
  659. letta_client/runs/steps/types/steps_list_request_order.py +0 -5
  660. letta_client/runs/types/__init__.py +0 -8
  661. letta_client/runs/types/letta_streaming_response.py +0 -31
  662. letta_client/runs/types/runs_list_request_order.py +0 -5
  663. letta_client/runs/usage/__init__.py +0 -4
  664. letta_client/runs/usage/client.py +0 -112
  665. letta_client/runs/usage/raw_client.py +0 -122
  666. letta_client/sources/__init__.py +0 -7
  667. letta_client/sources/client.py +0 -962
  668. letta_client/sources/files/__init__.py +0 -4
  669. letta_client/sources/files/client.py +0 -375
  670. letta_client/sources/files/raw_client.py +0 -419
  671. letta_client/sources/passages/__init__.py +0 -4
  672. letta_client/sources/passages/client.py +0 -156
  673. letta_client/sources/passages/raw_client.py +0 -164
  674. letta_client/sources/raw_client.py +0 -1221
  675. letta_client/steps/__init__.py +0 -18
  676. letta_client/steps/client.py +0 -370
  677. letta_client/steps/feedback/__init__.py +0 -4
  678. letta_client/steps/feedback/client.py +0 -144
  679. letta_client/steps/feedback/raw_client.py +0 -166
  680. letta_client/steps/messages/__init__.py +0 -7
  681. letta_client/steps/messages/client.py +0 -187
  682. letta_client/steps/messages/raw_client.py +0 -185
  683. letta_client/steps/messages/types/__init__.py +0 -8
  684. letta_client/steps/messages/types/messages_list_request_order.py +0 -5
  685. letta_client/steps/messages/types/messages_list_response_item.py +0 -25
  686. letta_client/steps/metrics/__init__.py +0 -4
  687. letta_client/steps/metrics/client.py +0 -112
  688. letta_client/steps/metrics/raw_client.py +0 -124
  689. letta_client/steps/raw_client.py +0 -366
  690. letta_client/steps/trace/__init__.py +0 -4
  691. letta_client/steps/trace/client.py +0 -112
  692. letta_client/steps/trace/raw_client.py +0 -124
  693. letta_client/steps/types/__init__.py +0 -8
  694. letta_client/steps/types/steps_list_request_feedback.py +0 -5
  695. letta_client/steps/types/steps_list_request_order.py +0 -5
  696. letta_client/tags/__init__.py +0 -7
  697. letta_client/tags/client.py +0 -198
  698. letta_client/tags/raw_client.py +0 -195
  699. letta_client/tags/types/__init__.py +0 -7
  700. letta_client/tags/types/tags_list_request_order.py +0 -5
  701. letta_client/telemetry/__init__.py +0 -4
  702. letta_client/telemetry/client.py +0 -118
  703. letta_client/telemetry/raw_client.py +0 -130
  704. letta_client/templates/__init__.py +0 -1019
  705. letta_client/templates/agents/__init__.py +0 -4
  706. letta_client/templates/agents/client.py +0 -113
  707. letta_client/templates/agents/raw_client.py +0 -80
  708. letta_client/templates/client.py +0 -1631
  709. letta_client/templates/raw_client.py +0 -2106
  710. letta_client/templates/types/__init__.py +0 -1977
  711. letta_client/templates/types/templates_create_agents_from_template_request_initial_message_sequence_item.py +0 -29
  712. letta_client/templates/types/templates_create_agents_from_template_request_initial_message_sequence_item_role.py +0 -7
  713. letta_client/templates/types/templates_create_agents_from_template_response.py +0 -29
  714. letta_client/templates/types/templates_create_agents_from_template_response_agents_item.py +0 -157
  715. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_agent_type.py +0 -18
  716. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id.py +0 -14
  717. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_base_template_id_item.py +0 -5
  718. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at.py +0 -14
  719. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_at_item.py +0 -5
  720. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id.py +0 -14
  721. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_created_by_id_item.py +0 -5
  722. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_deployment_id.py +0 -14
  723. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_deployment_id_item.py +0 -5
  724. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description.py +0 -14
  725. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_description_item.py +0 -5
  726. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config.py +0 -63
  727. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment.py +0 -14
  728. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_deployment_item.py +0 -7
  729. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint.py +0 -14
  730. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_endpoint_item.py +0 -7
  731. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version.py +0 -14
  732. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_azure_version_item.py +0 -7
  733. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_batch_size.py +0 -7
  734. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size.py +0 -16
  735. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_chunk_size_item.py +0 -7
  736. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint.py +0 -16
  737. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_item.py +0 -7
  738. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_embedding_endpoint_type.py +0 -28
  739. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle.py +0 -14
  740. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_embedding_config_handle_item.py +0 -5
  741. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_enable_sleeptime.py +0 -14
  742. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_enable_sleeptime_item.py +0 -5
  743. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_entity_id.py +0 -14
  744. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_entity_id_item.py +0 -5
  745. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_hidden.py +0 -14
  746. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_hidden_item.py +0 -5
  747. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_identity_ids.py +0 -7
  748. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_run_completion.py +0 -14
  749. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_run_completion_item.py +0 -5
  750. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_run_duration_ms.py +0 -14
  751. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_run_duration_ms_item.py +0 -5
  752. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id.py +0 -14
  753. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_last_updated_by_id_item.py +0 -5
  754. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +0 -107
  755. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_compatibility_type.py +0 -15
  756. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_compatibility_type_item.py +0 -7
  757. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_display_name.py +0 -14
  758. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_display_name_item.py +0 -5
  759. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_enable_reasoner.py +0 -7
  760. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_frequency_penalty.py +0 -14
  761. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_frequency_penalty_item.py +0 -7
  762. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle.py +0 -14
  763. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_handle_item.py +0 -5
  764. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_reasoning_tokens.py +0 -7
  765. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens.py +0 -14
  766. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py +0 -5
  767. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py +0 -14
  768. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py +0 -5
  769. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_type.py +0 -30
  770. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py +0 -14
  771. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py +0 -5
  772. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls.py +0 -14
  773. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item.py +0 -7
  774. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_provider_category.py +0 -15
  775. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_provider_category_item.py +0 -7
  776. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_provider_name.py +0 -14
  777. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_provider_name_item.py +0 -5
  778. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py +0 -16
  779. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs_item.py +0 -7
  780. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_reasoning_effort.py +0 -17
  781. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_reasoning_effort_item.py +0 -11
  782. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_temperature.py +0 -7
  783. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_tier.py +0 -14
  784. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_tier_item.py +0 -5
  785. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_verbosity.py +0 -16
  786. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_verbosity_item.py +0 -7
  787. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_max_files_open.py +0 -14
  788. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_max_files_open_item.py +0 -5
  789. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory.py +0 -35
  790. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_agent_type.py +0 -23
  791. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_agent_type_item.py +0 -17
  792. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item.py +0 -94
  793. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_base_template_id.py +0 -14
  794. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_base_template_id_item.py +0 -7
  795. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id.py +0 -14
  796. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_created_by_id_item.py +0 -7
  797. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_deployment_id.py +0 -14
  798. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_deployment_id_item.py +0 -7
  799. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description.py +0 -14
  800. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_description_item.py +0 -7
  801. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_entity_id.py +0 -14
  802. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_entity_id_item.py +0 -7
  803. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_hidden.py +0 -14
  804. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_hidden_item.py +0 -5
  805. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_id.py +0 -5
  806. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_is_template.py +0 -7
  807. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label.py +0 -14
  808. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_label_item.py +0 -5
  809. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id.py +0 -16
  810. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_last_updated_by_id_item.py +0 -7
  811. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_limit.py +0 -7
  812. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata.py +0 -13
  813. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_metadata_item.py +0 -7
  814. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name.py +0 -14
  815. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_name_item.py +0 -5
  816. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_preserve_on_migration.py +0 -16
  817. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_preserve_on_migration_item.py +0 -7
  818. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_project_id.py +0 -14
  819. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_project_id_item.py +0 -7
  820. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_blocks_item_read_only.py +0 -7
  821. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks.py +0 -11
  822. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item.py +0 -107
  823. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_base_template_id.py +0 -16
  824. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_base_template_id_item.py +0 -7
  825. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_created_by_id.py +0 -16
  826. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_created_by_id_item.py +0 -7
  827. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_deployment_id.py +0 -16
  828. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_deployment_id_item.py +0 -7
  829. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_description.py +0 -16
  830. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_description_item.py +0 -7
  831. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_entity_id.py +0 -14
  832. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_entity_id_item.py +0 -7
  833. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_hidden.py +0 -14
  834. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_hidden_item.py +0 -7
  835. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_id.py +0 -7
  836. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_is_template.py +0 -7
  837. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_label.py +0 -14
  838. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_label_item.py +0 -7
  839. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_last_accessed_at.py +0 -16
  840. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_last_accessed_at_item.py +0 -7
  841. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_last_updated_by_id.py +0 -16
  842. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_last_updated_by_id_item.py +0 -7
  843. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_limit.py +0 -7
  844. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_metadata.py +0 -13
  845. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_metadata_item.py +0 -7
  846. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_name.py +0 -14
  847. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_name_item.py +0 -7
  848. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_preserve_on_migration.py +0 -16
  849. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_preserve_on_migration_item.py +0 -7
  850. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_project_id.py +0 -14
  851. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_project_id_item.py +0 -7
  852. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_file_blocks_item_read_only.py +0 -7
  853. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_memory_prompt_template.py +0 -5
  854. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_buffer_autoclear.py +0 -7
  855. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids.py +0 -14
  856. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_message_ids_item.py +0 -5
  857. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata.py +0 -13
  858. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_metadata_item.py +0 -7
  859. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group.py +0 -17
  860. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids.py +0 -108
  861. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_base_template_id.py +0 -16
  862. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_base_template_id_item.py +0 -7
  863. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_deployment_id.py +0 -16
  864. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_deployment_id_item.py +0 -7
  865. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_hidden.py +0 -14
  866. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_hidden_item.py +0 -7
  867. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_last_processed_message_id.py +0 -18
  868. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_last_processed_message_id_item.py +0 -7
  869. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_manager_agent_id.py +0 -16
  870. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_manager_agent_id_item.py +0 -7
  871. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_manager_type.py +0 -7
  872. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_max_message_buffer_length.py +0 -18
  873. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_max_message_buffer_length_item.py +0 -7
  874. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_max_turns.py +0 -16
  875. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_max_turns_item.py +0 -7
  876. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_min_message_buffer_length.py +0 -18
  877. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_min_message_buffer_length_item.py +0 -7
  878. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_project_id.py +0 -16
  879. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_project_id_item.py +0 -7
  880. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_shared_block_ids.py +0 -7
  881. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_sleeptime_agent_frequency.py +0 -18
  882. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_sleeptime_agent_frequency_item.py +0 -7
  883. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_template_id.py +0 -16
  884. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_template_id_item.py +0 -7
  885. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_termination_token.py +0 -16
  886. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_termination_token_item.py +0 -7
  887. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_turns_counter.py +0 -16
  888. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_agent_ids_turns_counter_item.py +0 -7
  889. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item.py +0 -11
  890. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids.py +0 -108
  891. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_base_template_id.py +0 -18
  892. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_base_template_id_item.py +0 -7
  893. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_deployment_id.py +0 -16
  894. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_deployment_id_item.py +0 -7
  895. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_hidden.py +0 -16
  896. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_hidden_item.py +0 -7
  897. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_last_processed_message_id.py +0 -18
  898. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_last_processed_message_id_item.py +0 -7
  899. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_manager_agent_id.py +0 -18
  900. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_manager_agent_id_item.py +0 -7
  901. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_manager_type.py +0 -7
  902. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_max_message_buffer_length.py +0 -18
  903. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_max_message_buffer_length_item.py +0 -7
  904. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_max_turns.py +0 -16
  905. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_max_turns_item.py +0 -7
  906. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_min_message_buffer_length.py +0 -18
  907. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_min_message_buffer_length_item.py +0 -7
  908. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_project_id.py +0 -16
  909. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_project_id_item.py +0 -7
  910. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_shared_block_ids.py +0 -7
  911. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_sleeptime_agent_frequency.py +0 -18
  912. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_sleeptime_agent_frequency_item.py +0 -7
  913. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_template_id.py +0 -16
  914. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_template_id_item.py +0 -7
  915. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_termination_token.py +0 -18
  916. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_termination_token_item.py +0 -7
  917. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_turns_counter.py +0 -16
  918. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_multi_agent_group_item_agent_ids_turns_counter_item.py +0 -7
  919. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_per_file_view_window_char_limit.py +0 -14
  920. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_per_file_view_window_char_limit_item.py +0 -7
  921. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id.py +0 -14
  922. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_project_id_item.py +0 -5
  923. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format.py +0 -25
  924. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_item.py +0 -20
  925. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_item_json_schema.py +0 -24
  926. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_item_json_schema_type.py +0 -7
  927. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_item_type.py +0 -20
  928. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_item_zero.py +0 -20
  929. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_json_schema.py +0 -24
  930. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_json_schema_type.py +0 -7
  931. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_type.py +0 -20
  932. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_response_format_zero.py +0 -20
  933. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets.py +0 -11
  934. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item.py +0 -58
  935. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_created_at.py +0 -14
  936. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_created_at_item.py +0 -5
  937. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_created_by_id.py +0 -14
  938. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_created_by_id_item.py +0 -5
  939. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_description.py +0 -14
  940. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_description_item.py +0 -5
  941. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_id.py +0 -5
  942. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_last_updated_by_id.py +0 -14
  943. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_last_updated_by_id_item.py +0 -7
  944. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_organization_id.py +0 -14
  945. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_organization_id_item.py +0 -7
  946. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_updated_at.py +0 -14
  947. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_updated_at_item.py +0 -5
  948. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_value_enc.py +0 -14
  949. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_secrets_item_value_enc_item.py +0 -5
  950. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item.py +0 -70
  951. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at.py +0 -14
  952. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_at_item.py +0 -5
  953. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id.py +0 -14
  954. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_created_by_id_item.py +0 -5
  955. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description.py +0 -14
  956. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_description_item.py +0 -5
  957. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config.py +0 -67
  958. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment.py +0 -18
  959. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_deployment_item.py +0 -7
  960. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint.py +0 -16
  961. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_endpoint_item.py +0 -7
  962. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version.py +0 -16
  963. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_azure_version_item.py +0 -7
  964. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_batch_size.py +0 -7
  965. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size.py +0 -18
  966. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_chunk_size_item.py +0 -7
  967. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint.py +0 -18
  968. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_item.py +0 -7
  969. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_embedding_endpoint_type.py +0 -28
  970. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle.py +0 -16
  971. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_embedding_config_handle_item.py +0 -7
  972. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_id.py +0 -5
  973. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_instructions.py +0 -14
  974. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_instructions_item.py +0 -5
  975. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id.py +0 -14
  976. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_last_updated_by_id_item.py +0 -7
  977. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata.py +0 -13
  978. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_metadata_item.py +0 -7
  979. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id.py +0 -14
  980. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_organization_id_item.py +0 -7
  981. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at.py +0 -14
  982. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_updated_at_item.py +0 -5
  983. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_sources_item_vector_db_provider.py +0 -7
  984. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id.py +0 -14
  985. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_template_id_item.py +0 -5
  986. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_timezone.py +0 -14
  987. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_timezone_item.py +0 -5
  988. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables.py +0 -12
  989. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item.py +0 -68
  990. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at.py +0 -18
  991. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_at_item.py +0 -7
  992. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id.py +0 -18
  993. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_created_by_id_item.py +0 -7
  994. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description.py +0 -18
  995. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_description_item.py +0 -7
  996. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_id.py +0 -7
  997. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id.py +0 -18
  998. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_last_updated_by_id_item.py +0 -7
  999. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id.py +0 -18
  1000. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_organization_id_item.py +0 -7
  1001. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at.py +0 -18
  1002. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_updated_at_item.py +0 -7
  1003. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_value_enc.py +0 -16
  1004. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_exec_environment_variables_item_value_enc_item.py +0 -7
  1005. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules.py +0 -14
  1006. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item.py +0 -11
  1007. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args.py +0 -34
  1008. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args_args.py +0 -13
  1009. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args_args_item.py +0 -7
  1010. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args_prompt_template.py +0 -16
  1011. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args_prompt_template_item.py +0 -7
  1012. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_args_type.py +0 -7
  1013. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes.py +0 -37
  1014. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes.py +0 -16
  1015. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item.py +0 -12
  1016. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item_args.py +0 -17
  1017. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item_args_item.py +0 -7
  1018. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item_item.py +0 -28
  1019. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item_item_args.py +0 -17
  1020. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item_item_args_item.py +0 -7
  1021. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_prompt_template.py +0 -16
  1022. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_prompt_template_item.py +0 -7
  1023. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_arg_nodes_type.py +0 -7
  1024. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping.py +0 -43
  1025. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child.py +0 -18
  1026. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_default_child_item.py +0 -7
  1027. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_prompt_template.py +0 -18
  1028. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_prompt_template_item.py +0 -7
  1029. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_require_output_mapping.py +0 -7
  1030. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_child_output_mapping_type.py +0 -7
  1031. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_five.py +0 -30
  1032. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_five_prompt_template.py +0 -16
  1033. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_five_prompt_template_item.py +0 -7
  1034. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_five_type.py +0 -7
  1035. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_four.py +0 -30
  1036. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_four_prompt_template.py +0 -16
  1037. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_four_prompt_template_item.py +0 -7
  1038. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_four_type.py +0 -7
  1039. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item.py +0 -43
  1040. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args.py +0 -34
  1041. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args_args.py +0 -13
  1042. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args_args_item.py +0 -7
  1043. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args_prompt_template.py +0 -16
  1044. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args_prompt_template_item.py +0 -7
  1045. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_args_type.py +0 -7
  1046. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes.py +0 -37
  1047. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes.py +0 -18
  1048. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item.py +0 -12
  1049. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item_args.py +0 -17
  1050. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item_args_item.py +0 -7
  1051. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item_item.py +0 -28
  1052. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item_item_args.py +0 -17
  1053. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_child_arg_nodes_item_item_args_item.py +0 -7
  1054. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_prompt_template.py +0 -18
  1055. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_prompt_template_item.py +0 -7
  1056. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_arg_nodes_type.py +0 -7
  1057. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping.py +0 -45
  1058. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child.py +0 -18
  1059. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_default_child_item.py +0 -7
  1060. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_prompt_template.py +0 -18
  1061. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_prompt_template_item.py +0 -7
  1062. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_require_output_mapping.py +0 -7
  1063. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_child_output_mapping_type.py +0 -7
  1064. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_five.py +0 -30
  1065. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_five_prompt_template.py +0 -16
  1066. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_five_prompt_template_item.py +0 -7
  1067. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_five_type.py +0 -7
  1068. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_four.py +0 -30
  1069. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_four_prompt_template.py +0 -16
  1070. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_four_prompt_template_item.py +0 -7
  1071. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_four_type.py +0 -7
  1072. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_max_count_limit.py +0 -31
  1073. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_max_count_limit_prompt_template.py +0 -18
  1074. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_max_count_limit_prompt_template_item.py +0 -7
  1075. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_max_count_limit_type.py +0 -7
  1076. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_prompt_template.py +0 -30
  1077. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_prompt_template_prompt_template.py +0 -18
  1078. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_prompt_template_prompt_template_item.py +0 -7
  1079. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_prompt_template_type.py +0 -7
  1080. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_seven.py +0 -31
  1081. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_seven_prompt_template.py +0 -16
  1082. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_seven_prompt_template_item.py +0 -7
  1083. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_seven_type.py +0 -7
  1084. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two.py +0 -30
  1085. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two_prompt_template.py +0 -16
  1086. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two_prompt_template_item.py +0 -7
  1087. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_item_two_type.py +0 -7
  1088. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_max_count_limit.py +0 -31
  1089. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_max_count_limit_prompt_template.py +0 -16
  1090. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_max_count_limit_prompt_template_item.py +0 -7
  1091. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_max_count_limit_type.py +0 -7
  1092. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_prompt_template.py +0 -30
  1093. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_prompt_template_prompt_template.py +0 -18
  1094. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_prompt_template_prompt_template_item.py +0 -7
  1095. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_prompt_template_type.py +0 -7
  1096. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_seven.py +0 -31
  1097. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_seven_prompt_template.py +0 -16
  1098. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_seven_prompt_template_item.py +0 -7
  1099. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_seven_type.py +0 -7
  1100. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two.py +0 -30
  1101. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two_prompt_template.py +0 -14
  1102. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two_prompt_template_item.py +0 -7
  1103. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tool_rules_item_two_type.py +0 -5
  1104. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +0 -93
  1105. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_args_json_schema.py +0 -13
  1106. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_args_json_schema_item.py +0 -7
  1107. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id.py +0 -13
  1108. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_created_by_id_item.py +0 -5
  1109. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_default_requires_approval.py +0 -15
  1110. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_default_requires_approval_item.py +0 -7
  1111. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description.py +0 -13
  1112. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_description_item.py +0 -5
  1113. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution.py +0 -15
  1114. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item.py +0 -7
  1115. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema.py +0 -13
  1116. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_json_schema_item.py +0 -7
  1117. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id.py +0 -13
  1118. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_last_updated_by_id_item.py +0 -7
  1119. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_metadata.py +0 -13
  1120. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_metadata_item.py +0 -7
  1121. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name.py +0 -13
  1122. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_name_item.py +0 -5
  1123. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements.py +0 -13
  1124. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item.py +0 -12
  1125. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item_item.py +0 -26
  1126. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item_item_version.py +0 -16
  1127. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item_item_version_item.py +0 -7
  1128. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item_version.py +0 -16
  1129. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_npm_requirements_item_version_item.py +0 -7
  1130. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements.py +0 -13
  1131. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item.py +0 -12
  1132. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item_item.py +0 -26
  1133. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item_item_version.py +0 -16
  1134. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item_item_version_item.py +0 -7
  1135. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item_version.py +0 -16
  1136. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_pip_requirements_item_version_item.py +0 -7
  1137. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code.py +0 -13
  1138. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_code_item.py +0 -5
  1139. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type.py +0 -13
  1140. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_source_type_item.py +0 -5
  1141. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_tool_type.py +0 -20
  1142. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at.py +0 -14
  1143. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_updated_at_item.py +0 -5
  1144. letta_client/templates/types/templates_create_agents_from_template_response_group.py +0 -90
  1145. letta_client/templates/types/templates_create_agents_from_template_response_group_base_template_id.py +0 -14
  1146. letta_client/templates/types/templates_create_agents_from_template_response_group_base_template_id_item.py +0 -5
  1147. letta_client/templates/types/templates_create_agents_from_template_response_group_deployment_id.py +0 -14
  1148. letta_client/templates/types/templates_create_agents_from_template_response_group_deployment_id_item.py +0 -5
  1149. letta_client/templates/types/templates_create_agents_from_template_response_group_hidden.py +0 -14
  1150. letta_client/templates/types/templates_create_agents_from_template_response_group_hidden_item.py +0 -5
  1151. letta_client/templates/types/templates_create_agents_from_template_response_group_last_processed_message_id.py +0 -14
  1152. letta_client/templates/types/templates_create_agents_from_template_response_group_last_processed_message_id_item.py +0 -5
  1153. letta_client/templates/types/templates_create_agents_from_template_response_group_manager_agent_id.py +0 -14
  1154. letta_client/templates/types/templates_create_agents_from_template_response_group_manager_agent_id_item.py +0 -5
  1155. letta_client/templates/types/templates_create_agents_from_template_response_group_manager_type.py +0 -7
  1156. letta_client/templates/types/templates_create_agents_from_template_response_group_max_message_buffer_length.py +0 -14
  1157. letta_client/templates/types/templates_create_agents_from_template_response_group_max_message_buffer_length_item.py +0 -5
  1158. letta_client/templates/types/templates_create_agents_from_template_response_group_max_turns.py +0 -14
  1159. letta_client/templates/types/templates_create_agents_from_template_response_group_max_turns_item.py +0 -5
  1160. letta_client/templates/types/templates_create_agents_from_template_response_group_min_message_buffer_length.py +0 -14
  1161. letta_client/templates/types/templates_create_agents_from_template_response_group_min_message_buffer_length_item.py +0 -5
  1162. letta_client/templates/types/templates_create_agents_from_template_response_group_project_id.py +0 -14
  1163. letta_client/templates/types/templates_create_agents_from_template_response_group_project_id_item.py +0 -5
  1164. letta_client/templates/types/templates_create_agents_from_template_response_group_shared_block_ids.py +0 -7
  1165. letta_client/templates/types/templates_create_agents_from_template_response_group_sleeptime_agent_frequency.py +0 -14
  1166. letta_client/templates/types/templates_create_agents_from_template_response_group_sleeptime_agent_frequency_item.py +0 -5
  1167. letta_client/templates/types/templates_create_agents_from_template_response_group_template_id.py +0 -14
  1168. letta_client/templates/types/templates_create_agents_from_template_response_group_template_id_item.py +0 -5
  1169. letta_client/templates/types/templates_create_agents_from_template_response_group_termination_token.py +0 -14
  1170. letta_client/templates/types/templates_create_agents_from_template_response_group_termination_token_item.py +0 -5
  1171. letta_client/templates/types/templates_create_agents_from_template_response_group_turns_counter.py +0 -14
  1172. letta_client/templates/types/templates_create_agents_from_template_response_group_turns_counter_item.py +0 -5
  1173. letta_client/templates/types/templates_create_template_request.py +0 -10
  1174. letta_client/templates/types/templates_create_template_request_agent_file.py +0 -38
  1175. letta_client/templates/types/templates_create_template_request_agent_id.py +0 -33
  1176. letta_client/templates/types/templates_create_template_response.py +0 -42
  1177. letta_client/templates/types/templates_delete_template_response.py +0 -20
  1178. letta_client/templates/types/templates_fork_template_response.py +0 -42
  1179. letta_client/templates/types/templates_get_template_snapshot_response.py +0 -32
  1180. letta_client/templates/types/templates_get_template_snapshot_response_agents_item.py +0 -62
  1181. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_agent_type.py +0 -18
  1182. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables.py +0 -24
  1183. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_memory_variables_data_item.py +0 -24
  1184. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties.py +0 -36
  1185. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties_reasoning_effort.py +0 -7
  1186. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_properties_verbosity_level.py +0 -7
  1187. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item.py +0 -43
  1188. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_args.py +0 -23
  1189. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_arg_nodes.py +0 -29
  1190. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_arg_nodes_child_arg_nodes_item.py +0 -21
  1191. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_child_output_mapping.py +0 -25
  1192. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_five.py +0 -22
  1193. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_four.py +0 -22
  1194. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_max_count_limit.py +0 -23
  1195. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_prompt_template.py +0 -22
  1196. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_seven.py +0 -23
  1197. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_rules_item_two.py +0 -22
  1198. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables.py +0 -24
  1199. letta_client/templates/types/templates_get_template_snapshot_response_agents_item_tool_variables_data_item.py +0 -24
  1200. letta_client/templates/types/templates_get_template_snapshot_response_blocks_item.py +0 -30
  1201. letta_client/templates/types/templates_get_template_snapshot_response_configuration.py +0 -36
  1202. letta_client/templates/types/templates_get_template_snapshot_response_relationships_item.py +0 -23
  1203. letta_client/templates/types/templates_get_template_snapshot_response_type.py +0 -8
  1204. letta_client/templates/types/templates_list_request_sort_by.py +0 -5
  1205. letta_client/templates/types/templates_list_response.py +0 -22
  1206. letta_client/templates/types/templates_list_response_templates_item.py +0 -42
  1207. letta_client/templates/types/templates_list_template_versions_response.py +0 -23
  1208. letta_client/templates/types/templates_list_template_versions_response_versions_item.py +0 -38
  1209. letta_client/templates/types/templates_migrate_deployment_response.py +0 -21
  1210. letta_client/templates/types/templates_rename_template_response.py +0 -20
  1211. letta_client/templates/types/templates_save_template_version_response.py +0 -42
  1212. letta_client/templates/types/templates_set_current_template_from_snapshot_response.py +0 -21
  1213. letta_client/templates/types/templates_update_current_template_from_agent_file_response.py +0 -21
  1214. letta_client/templates/types/templates_update_template_description_response.py +0 -20
  1215. letta_client/tools/__init__.py +0 -31
  1216. letta_client/tools/client.py +0 -2034
  1217. letta_client/tools/raw_client.py +0 -2551
  1218. letta_client/tools/types/__init__.py +0 -29
  1219. letta_client/tools/types/add_mcp_server_request.py +0 -9
  1220. letta_client/tools/types/add_mcp_server_response_item.py +0 -9
  1221. letta_client/tools/types/connect_mcp_server_request.py +0 -9
  1222. letta_client/tools/types/connect_mcp_server_response_event.py +0 -8
  1223. letta_client/tools/types/delete_mcp_server_response_item.py +0 -9
  1224. letta_client/tools/types/list_mcp_servers_response_value.py +0 -9
  1225. letta_client/tools/types/streaming_response.py +0 -24
  1226. letta_client/tools/types/test_mcp_server_request.py +0 -9
  1227. letta_client/tools/types/tools_list_request_order.py +0 -5
  1228. letta_client/tools/types/update_mcp_server_request.py +0 -9
  1229. letta_client/tools/types/update_mcp_server_response.py +0 -9
  1230. letta_client/types/__init__.py +0 -621
  1231. letta_client/types/agent_environment_variable.py +0 -69
  1232. letta_client/types/agent_file_attachment.py +0 -73
  1233. letta_client/types/agent_file_schema.py +0 -75
  1234. letta_client/types/agent_state.py +0 -226
  1235. letta_client/types/agent_state_response_format.py +0 -9
  1236. letta_client/types/agent_state_tool_rules_item.py +0 -25
  1237. letta_client/types/agent_type.py +0 -18
  1238. letta_client/types/annotation.py +0 -22
  1239. letta_client/types/annotation_url_citation.py +0 -23
  1240. letta_client/types/approval_create.py +0 -48
  1241. letta_client/types/approval_create_approvals_item.py +0 -8
  1242. letta_client/types/approval_request_message.py +0 -51
  1243. letta_client/types/approval_request_message_tool_call.py +0 -8
  1244. letta_client/types/approval_request_message_tool_calls.py +0 -8
  1245. letta_client/types/approval_response_message.py +0 -62
  1246. letta_client/types/approval_response_message_approvals_item.py +0 -8
  1247. letta_client/types/approval_return.py +0 -34
  1248. letta_client/types/archival_memory_search_response.py +0 -29
  1249. letta_client/types/archival_memory_search_result.py +0 -33
  1250. letta_client/types/archive.py +0 -77
  1251. letta_client/types/assistant_message.py +0 -45
  1252. letta_client/types/assistant_message_content.py +0 -7
  1253. letta_client/types/audio.py +0 -20
  1254. letta_client/types/auth_request.py +0 -23
  1255. letta_client/types/auth_response.py +0 -30
  1256. letta_client/types/bad_request_error_body.py +0 -20
  1257. letta_client/types/base_64_image.py +0 -34
  1258. letta_client/types/base_tool_rule_schema.py +0 -21
  1259. letta_client/types/batch_job.py +0 -108
  1260. letta_client/types/block.py +0 -118
  1261. letta_client/types/block_schema.py +0 -93
  1262. letta_client/types/block_update.py +0 -92
  1263. letta_client/types/body_export_agent.py +0 -25
  1264. letta_client/types/chat_completion.py +0 -30
  1265. letta_client/types/chat_completion_assistant_message_param.py +0 -30
  1266. letta_client/types/chat_completion_assistant_message_param_content.py +0 -9
  1267. letta_client/types/chat_completion_assistant_message_param_content_item.py +0 -10
  1268. letta_client/types/chat_completion_assistant_message_param_tool_calls_item.py +0 -10
  1269. letta_client/types/chat_completion_audio.py +0 -23
  1270. letta_client/types/chat_completion_content_part_image_param.py +0 -22
  1271. letta_client/types/chat_completion_content_part_input_audio_param.py +0 -22
  1272. letta_client/types/chat_completion_content_part_refusal_param.py +0 -21
  1273. letta_client/types/chat_completion_content_part_text_param.py +0 -21
  1274. letta_client/types/chat_completion_developer_message_param.py +0 -23
  1275. letta_client/types/chat_completion_developer_message_param_content.py +0 -7
  1276. letta_client/types/chat_completion_function_message_param.py +0 -22
  1277. letta_client/types/chat_completion_message.py +0 -30
  1278. letta_client/types/chat_completion_message_custom_tool_call.py +0 -23
  1279. letta_client/types/chat_completion_message_custom_tool_call_param.py +0 -23
  1280. letta_client/types/chat_completion_message_function_tool_call_input.py +0 -25
  1281. letta_client/types/chat_completion_message_function_tool_call_output.py +0 -23
  1282. letta_client/types/chat_completion_message_function_tool_call_param.py +0 -25
  1283. letta_client/types/chat_completion_message_tool_calls_item.py +0 -10
  1284. letta_client/types/chat_completion_service_tier.py +0 -5
  1285. letta_client/types/chat_completion_system_message_param.py +0 -23
  1286. letta_client/types/chat_completion_system_message_param_content.py +0 -7
  1287. letta_client/types/chat_completion_token_logprob.py +0 -24
  1288. letta_client/types/chat_completion_tool_message_param.py +0 -23
  1289. letta_client/types/chat_completion_tool_message_param_content.py +0 -7
  1290. letta_client/types/chat_completion_user_message_param.py +0 -23
  1291. letta_client/types/chat_completion_user_message_param_content.py +0 -7
  1292. letta_client/types/chat_completion_user_message_param_content_item.py +0 -15
  1293. letta_client/types/child_tool_rule.py +0 -44
  1294. letta_client/types/child_tool_rule_schema.py +0 -22
  1295. letta_client/types/choice.py +0 -26
  1296. letta_client/types/choice_finish_reason.py +0 -7
  1297. letta_client/types/choice_logprobs.py +0 -22
  1298. letta_client/types/code_input.py +0 -28
  1299. letta_client/types/completion_tokens_details.py +0 -23
  1300. letta_client/types/completion_usage.py +0 -26
  1301. letta_client/types/components_schemas_text_content.py +0 -5
  1302. letta_client/types/conditional_tool_rule.py +0 -48
  1303. letta_client/types/conditional_tool_rule_schema.py +0 -24
  1304. letta_client/types/conflict_error_body.py +0 -20
  1305. letta_client/types/context_window_overview.py +0 -109
  1306. letta_client/types/continue_tool_rule.py +0 -33
  1307. letta_client/types/core_memory_block_schema.py +0 -32
  1308. letta_client/types/create_block.py +0 -88
  1309. letta_client/types/custom_input.py +0 -21
  1310. letta_client/types/custom_output.py +0 -21
  1311. letta_client/types/delete_deployment_response.py +0 -27
  1312. letta_client/types/deployment_entity.py +0 -29
  1313. letta_client/types/duplicate_file_handling.py +0 -5
  1314. letta_client/types/dynamic_manager.py +0 -34
  1315. letta_client/types/dynamic_manager_update.py +0 -34
  1316. letta_client/types/e_2_b_sandbox_config.py +0 -33
  1317. letta_client/types/embedding_config.py +0 -73
  1318. letta_client/types/embedding_config_embedding_endpoint_type.py +0 -28
  1319. letta_client/types/feedback_type.py +0 -5
  1320. letta_client/types/file.py +0 -22
  1321. letta_client/types/file_agent_schema.py +0 -73
  1322. letta_client/types/file_block.py +0 -124
  1323. letta_client/types/file_file.py +0 -22
  1324. letta_client/types/file_metadata.py +0 -104
  1325. letta_client/types/file_processing_status.py +0 -5
  1326. letta_client/types/file_schema.py +0 -93
  1327. letta_client/types/file_stats.py +0 -37
  1328. letta_client/types/folder.py +0 -82
  1329. letta_client/types/function_call_input.py +0 -21
  1330. letta_client/types/function_call_output.py +0 -21
  1331. letta_client/types/function_definition.py +0 -23
  1332. letta_client/types/function_output.py +0 -21
  1333. letta_client/types/function_tool.py +0 -22
  1334. letta_client/types/generate_tool_input.py +0 -43
  1335. letta_client/types/generate_tool_output.py +0 -34
  1336. letta_client/types/group.py +0 -109
  1337. letta_client/types/group_schema.py +0 -58
  1338. letta_client/types/group_schema_manager_config.py +0 -13
  1339. letta_client/types/health.py +0 -25
  1340. letta_client/types/hidden_reasoning_message.py +0 -46
  1341. letta_client/types/hidden_reasoning_message_state.py +0 -5
  1342. letta_client/types/http_validation_error.py +0 -21
  1343. letta_client/types/identity.py +0 -60
  1344. letta_client/types/identity_property.py +0 -39
  1345. letta_client/types/identity_property_type.py +0 -5
  1346. letta_client/types/identity_property_value.py +0 -5
  1347. letta_client/types/identity_type.py +0 -5
  1348. letta_client/types/image_content.py +0 -25
  1349. letta_client/types/image_content_source.py +0 -9
  1350. letta_client/types/image_url.py +0 -22
  1351. letta_client/types/image_url_detail.py +0 -5
  1352. letta_client/types/imported_agents_response.py +0 -27
  1353. letta_client/types/init_tool_rule.py +0 -38
  1354. letta_client/types/input_audio.py +0 -22
  1355. letta_client/types/input_audio_format.py +0 -5
  1356. letta_client/types/internal_server_error_body.py +0 -20
  1357. letta_client/types/internal_template_agent_create.py +0 -266
  1358. letta_client/types/internal_template_agent_create_response_format.py +0 -11
  1359. letta_client/types/internal_template_agent_create_tool_rules_item.py +0 -25
  1360. letta_client/types/internal_template_block_create.py +0 -93
  1361. letta_client/types/internal_template_group_create.py +0 -68
  1362. letta_client/types/internal_template_group_create_manager_config.py +0 -13
  1363. letta_client/types/job.py +0 -123
  1364. letta_client/types/job_status.py +0 -7
  1365. letta_client/types/job_type.py +0 -5
  1366. letta_client/types/json_object_response_format.py +0 -24
  1367. letta_client/types/json_schema_response_format.py +0 -28
  1368. letta_client/types/letta_batch_messages.py +0 -21
  1369. letta_client/types/letta_batch_request.py +0 -60
  1370. letta_client/types/letta_batch_request_messages_item.py +0 -8
  1371. letta_client/types/letta_image.py +0 -39
  1372. letta_client/types/letta_message_content_union.py +0 -14
  1373. letta_client/types/letta_message_union.py +0 -25
  1374. letta_client/types/letta_ping.py +0 -27
  1375. letta_client/types/letta_request.py +0 -55
  1376. letta_client/types/letta_request_config.py +0 -39
  1377. letta_client/types/letta_request_messages_item.py +0 -8
  1378. letta_client/types/letta_response.py +0 -41
  1379. letta_client/types/letta_schemas_agent_file_agent_schema.py +0 -285
  1380. letta_client/types/letta_schemas_agent_file_agent_schema_response_format.py +0 -11
  1381. letta_client/types/letta_schemas_agent_file_agent_schema_tool_rules_item.py +0 -25
  1382. letta_client/types/letta_schemas_agent_file_message_schema.py +0 -125
  1383. letta_client/types/letta_schemas_agent_file_message_schema_approvals_item.py +0 -8
  1384. letta_client/types/letta_schemas_agent_file_message_schema_content.py +0 -7
  1385. letta_client/types/letta_schemas_agent_file_tool_schema.py +0 -114
  1386. letta_client/types/letta_schemas_letta_message_tool_return.py +0 -26
  1387. letta_client/types/letta_schemas_letta_message_tool_return_status.py +0 -5
  1388. letta_client/types/letta_schemas_message_tool_return.py +0 -40
  1389. letta_client/types/letta_schemas_message_tool_return_status.py +0 -5
  1390. letta_client/types/letta_serialize_schemas_pydantic_agent_schema_agent_schema.py +0 -56
  1391. letta_client/types/letta_serialize_schemas_pydantic_agent_schema_agent_schema_tool_rules_item.py +0 -12
  1392. letta_client/types/letta_serialize_schemas_pydantic_agent_schema_message_schema.py +0 -30
  1393. letta_client/types/letta_serialize_schemas_pydantic_agent_schema_tool_schema.py +0 -36
  1394. letta_client/types/letta_stop_reason.py +0 -33
  1395. letta_client/types/letta_streaming_request.py +0 -70
  1396. letta_client/types/letta_streaming_request_messages_item.py +0 -8
  1397. letta_client/types/letta_usage_statistics.py +0 -60
  1398. letta_client/types/letta_user_message_content_union.py +0 -8
  1399. letta_client/types/list_deployment_entities_response.py +0 -28
  1400. letta_client/types/llm_config.py +0 -127
  1401. letta_client/types/llm_config_compatibility_type.py +0 -5
  1402. letta_client/types/llm_config_model_endpoint_type.py +0 -30
  1403. letta_client/types/llm_config_reasoning_effort.py +0 -5
  1404. letta_client/types/llm_config_verbosity.py +0 -5
  1405. letta_client/types/local_sandbox_config.py +0 -39
  1406. letta_client/types/manager_type.py +0 -7
  1407. letta_client/types/max_count_per_step_tool_rule.py +0 -38
  1408. letta_client/types/max_count_per_step_tool_rule_schema.py +0 -22
  1409. letta_client/types/mcp_server_schema.py +0 -37
  1410. letta_client/types/mcp_server_type.py +0 -5
  1411. letta_client/types/mcp_tool.py +0 -44
  1412. letta_client/types/mcp_tool_execute_request.py +0 -23
  1413. letta_client/types/mcp_tool_health.py +0 -32
  1414. letta_client/types/memory.py +0 -45
  1415. letta_client/types/memory_agent_type.py +0 -7
  1416. letta_client/types/message.py +0 -166
  1417. letta_client/types/message_approvals_item.py +0 -8
  1418. letta_client/types/message_content_item.py +0 -23
  1419. letta_client/types/message_create.py +0 -64
  1420. letta_client/types/message_create_content.py +0 -7
  1421. letta_client/types/message_create_role.py +0 -5
  1422. letta_client/types/message_role.py +0 -5
  1423. letta_client/types/message_search_result.py +0 -48
  1424. letta_client/types/message_type.py +0 -18
  1425. letta_client/types/modal_sandbox_config.py +0 -36
  1426. letta_client/types/modal_sandbox_config_language.py +0 -5
  1427. letta_client/types/not_found_error_body.py +0 -20
  1428. letta_client/types/npm_requirement.py +0 -28
  1429. letta_client/types/omitted_reasoning_content.py +0 -28
  1430. letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_function.py +0 -21
  1431. letta_client/types/openai_types_chat_chat_completion_message_function_tool_call_param_function.py +0 -21
  1432. letta_client/types/organization.py +0 -39
  1433. letta_client/types/organization_create.py +0 -28
  1434. letta_client/types/organization_sources_stats.py +0 -43
  1435. letta_client/types/organization_update.py +0 -28
  1436. letta_client/types/paginated_agent_files.py +0 -38
  1437. letta_client/types/parameter_properties.py +0 -21
  1438. letta_client/types/parameters_schema.py +0 -23
  1439. letta_client/types/parent_tool_rule.py +0 -38
  1440. letta_client/types/passage.py +0 -109
  1441. letta_client/types/payment_required_error_body.py +0 -21
  1442. letta_client/types/pip_requirement.py +0 -28
  1443. letta_client/types/prompt_tokens_details.py +0 -21
  1444. letta_client/types/provider.py +0 -81
  1445. letta_client/types/provider_category.py +0 -5
  1446. letta_client/types/provider_trace.py +0 -71
  1447. letta_client/types/provider_type.py +0 -26
  1448. letta_client/types/reasoning_content.py +0 -38
  1449. letta_client/types/reasoning_message.py +0 -47
  1450. letta_client/types/reasoning_message_source.py +0 -5
  1451. letta_client/types/redacted_reasoning_content.py +0 -28
  1452. letta_client/types/required_before_exit_tool_rule.py +0 -33
  1453. letta_client/types/requires_approval_tool_rule.py +0 -33
  1454. letta_client/types/round_robin_manager.py +0 -24
  1455. letta_client/types/round_robin_manager_update.py +0 -24
  1456. letta_client/types/run.py +0 -113
  1457. letta_client/types/run_metrics.py +0 -63
  1458. letta_client/types/run_status.py +0 -5
  1459. letta_client/types/sandbox_config.py +0 -55
  1460. letta_client/types/sandbox_config_create.py +0 -24
  1461. letta_client/types/sandbox_config_create_config.py +0 -9
  1462. letta_client/types/sandbox_config_update.py +0 -28
  1463. letta_client/types/sandbox_config_update_config.py +0 -9
  1464. letta_client/types/sandbox_environment_variable.py +0 -69
  1465. letta_client/types/sandbox_environment_variable_create.py +0 -33
  1466. letta_client/types/sandbox_environment_variable_update.py +0 -33
  1467. letta_client/types/sandbox_type.py +0 -5
  1468. letta_client/types/sleeptime_manager.py +0 -29
  1469. letta_client/types/sleeptime_manager_update.py +0 -29
  1470. letta_client/types/source.py +0 -88
  1471. letta_client/types/source_create.py +0 -58
  1472. letta_client/types/source_schema.py +0 -63
  1473. letta_client/types/source_stats.py +0 -48
  1474. letta_client/types/source_update.py +0 -48
  1475. letta_client/types/sse_server_config.py +0 -56
  1476. letta_client/types/stdio_server_config.py +0 -40
  1477. letta_client/types/step.py +0 -144
  1478. letta_client/types/step_feedback.py +0 -5
  1479. letta_client/types/step_metrics.py +0 -78
  1480. letta_client/types/step_status.py +0 -5
  1481. letta_client/types/stop_reason_type.py +0 -19
  1482. letta_client/types/streamable_http_server_config.py +0 -56
  1483. letta_client/types/summarized_reasoning_content.py +0 -39
  1484. letta_client/types/summarized_reasoning_content_part.py +0 -28
  1485. letta_client/types/supervisor_manager.py +0 -24
  1486. letta_client/types/supervisor_manager_update.py +0 -24
  1487. letta_client/types/system_message.py +0 -44
  1488. letta_client/types/tag_schema.py +0 -20
  1489. letta_client/types/terminal_tool_rule.py +0 -33
  1490. letta_client/types/text_content.py +0 -29
  1491. letta_client/types/text_response_format.py +0 -24
  1492. letta_client/types/tool.py +0 -121
  1493. letta_client/types/tool_annotations.py +0 -37
  1494. letta_client/types/tool_call.py +0 -22
  1495. letta_client/types/tool_call_content.py +0 -39
  1496. letta_client/types/tool_call_delta.py +0 -22
  1497. letta_client/types/tool_call_message.py +0 -44
  1498. letta_client/types/tool_call_message_tool_call.py +0 -8
  1499. letta_client/types/tool_call_message_tool_calls.py +0 -8
  1500. letta_client/types/tool_call_node.py +0 -35
  1501. letta_client/types/tool_create.py +0 -75
  1502. letta_client/types/tool_env_var_schema.py +0 -24
  1503. letta_client/types/tool_json_schema.py +0 -25
  1504. letta_client/types/tool_return_content.py +0 -34
  1505. letta_client/types/tool_return_message.py +0 -53
  1506. letta_client/types/tool_return_message_status.py +0 -5
  1507. letta_client/types/tool_type.py +0 -20
  1508. letta_client/types/top_logprob.py +0 -22
  1509. letta_client/types/update_assistant_message.py +0 -25
  1510. letta_client/types/update_assistant_message_content.py +0 -7
  1511. letta_client/types/update_reasoning_message.py +0 -21
  1512. letta_client/types/update_ssemcp_server.py +0 -37
  1513. letta_client/types/update_stdio_mcp_server.py +0 -28
  1514. letta_client/types/update_streamable_httpmcp_server.py +0 -42
  1515. letta_client/types/update_system_message.py +0 -24
  1516. letta_client/types/update_user_message.py +0 -25
  1517. letta_client/types/update_user_message_content.py +0 -7
  1518. letta_client/types/url_image.py +0 -24
  1519. letta_client/types/usage_statistics.py +0 -26
  1520. letta_client/types/usage_statistics_completion_token_details.py +0 -20
  1521. letta_client/types/usage_statistics_prompt_token_details.py +0 -20
  1522. letta_client/types/user.py +0 -53
  1523. letta_client/types/user_create.py +0 -23
  1524. letta_client/types/user_message.py +0 -45
  1525. letta_client/types/user_message_content.py +0 -7
  1526. letta_client/types/user_update.py +0 -28
  1527. letta_client/types/validation_error.py +0 -23
  1528. letta_client/types/validation_error_loc_item.py +0 -5
  1529. letta_client/types/vector_db_provider.py +0 -5
  1530. letta_client/types/voice_sleeptime_manager.py +0 -34
  1531. letta_client/types/voice_sleeptime_manager_update.py +0 -34
  1532. letta_client/version.py +0 -3
  1533. letta_client/voice/__init__.py +0 -4
  1534. letta_client/voice/client.py +0 -144
  1535. letta_client/voice/raw_client.py +0 -183
  1536. letta_client-1.0.0a5.dist-info/METADATA +0 -422
  1537. letta_client-1.0.0a5.dist-info/RECORD +0 -1120
  1538. letta_client-1.0.0a5.dist-info/WHEEL +0 -4
  1539. {letta_client → letta_sdk}/py.typed +0 -0
@@ -0,0 +1,1785 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Any, Dict, Optional, cast
6
+ from typing_extensions import overload
7
+
8
+ import httpx
9
+
10
+ from .tools import (
11
+ ToolsResource,
12
+ AsyncToolsResource,
13
+ ToolsResourceWithRawResponse,
14
+ AsyncToolsResourceWithRawResponse,
15
+ ToolsResourceWithStreamingResponse,
16
+ AsyncToolsResourceWithStreamingResponse,
17
+ )
18
+ from ....._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
19
+ from ....._utils import required_args, maybe_transform, async_maybe_transform
20
+ from ....._compat import cached_property
21
+ from ....._resource import SyncAPIResource, AsyncAPIResource
22
+ from ....._response import (
23
+ to_raw_response_wrapper,
24
+ to_streamed_response_wrapper,
25
+ async_to_raw_response_wrapper,
26
+ async_to_streamed_response_wrapper,
27
+ )
28
+ from .....types.tool import Tool
29
+ from ....._base_client import make_request_options
30
+ from .....types.tools.mcp import (
31
+ McpServerType,
32
+ server_add_params,
33
+ server_test_params,
34
+ server_resync_params,
35
+ server_update_params,
36
+ server_connect_params,
37
+ )
38
+ from .....types.tools.mcp.mcp_server_type import McpServerType
39
+ from .....types.tools.mcp.server_add_response import ServerAddResponse
40
+ from .....types.tools.mcp.server_list_response import ServerListResponse
41
+ from .....types.tools.mcp.server_delete_response import ServerDeleteResponse
42
+ from .....types.tools.mcp.server_update_response import ServerUpdateResponse
43
+ from .....types.tools.mcp.stdio_server_config_param import StdioServerConfigParam
44
+
45
+ __all__ = ["ServersResource", "AsyncServersResource"]
46
+
47
+
48
+ class ServersResource(SyncAPIResource):
49
+ @cached_property
50
+ def tools(self) -> ToolsResource:
51
+ return ToolsResource(self._client)
52
+
53
+ @cached_property
54
+ def with_raw_response(self) -> ServersResourceWithRawResponse:
55
+ """
56
+ This property can be used as a prefix for any HTTP method call to return
57
+ the raw response object instead of the parsed content.
58
+
59
+ For more information, see https://www.github.com/letta-ai/letta-python#accessing-raw-response-data-eg-headers
60
+ """
61
+ return ServersResourceWithRawResponse(self)
62
+
63
+ @cached_property
64
+ def with_streaming_response(self) -> ServersResourceWithStreamingResponse:
65
+ """
66
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
67
+
68
+ For more information, see https://www.github.com/letta-ai/letta-python#with_streaming_response
69
+ """
70
+ return ServersResourceWithStreamingResponse(self)
71
+
72
+ @overload
73
+ def update(
74
+ self,
75
+ mcp_server_name: str,
76
+ *,
77
+ stdio_config: Optional[StdioServerConfigParam] | Omit = omit,
78
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
79
+ # The extra values given here take precedence over values defined on the client or passed to this method.
80
+ extra_headers: Headers | None = None,
81
+ extra_query: Query | None = None,
82
+ extra_body: Body | None = None,
83
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
84
+ ) -> ServerUpdateResponse:
85
+ """
86
+ Update an existing MCP server configuration
87
+
88
+ Args:
89
+ stdio_config: The configuration for the server (MCP 'local' client will run this command)
90
+
91
+ extra_headers: Send extra headers
92
+
93
+ extra_query: Add additional query parameters to the request
94
+
95
+ extra_body: Add additional JSON properties to the request
96
+
97
+ timeout: Override the client-level default timeout for this request, in seconds
98
+ """
99
+ ...
100
+
101
+ @overload
102
+ def update(
103
+ self,
104
+ mcp_server_name: str,
105
+ *,
106
+ token: Optional[str] | Omit = omit,
107
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
108
+ server_url: Optional[str] | Omit = omit,
109
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
110
+ # The extra values given here take precedence over values defined on the client or passed to this method.
111
+ extra_headers: Headers | None = None,
112
+ extra_query: Query | None = None,
113
+ extra_body: Body | None = None,
114
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
115
+ ) -> ServerUpdateResponse:
116
+ """
117
+ Update an existing MCP server configuration
118
+
119
+ Args:
120
+ token: The access token or API key for the MCP server (used for SSE authentication)
121
+
122
+ custom_headers: Custom authentication headers as key-value pairs
123
+
124
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
125
+
126
+ extra_headers: Send extra headers
127
+
128
+ extra_query: Add additional query parameters to the request
129
+
130
+ extra_body: Add additional JSON properties to the request
131
+
132
+ timeout: Override the client-level default timeout for this request, in seconds
133
+ """
134
+ ...
135
+
136
+ @overload
137
+ def update(
138
+ self,
139
+ mcp_server_name: str,
140
+ *,
141
+ auth_header: Optional[str] | Omit = omit,
142
+ auth_token: Optional[str] | Omit = omit,
143
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
144
+ server_url: Optional[str] | Omit = omit,
145
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
146
+ # The extra values given here take precedence over values defined on the client or passed to this method.
147
+ extra_headers: Headers | None = None,
148
+ extra_query: Query | None = None,
149
+ extra_body: Body | None = None,
150
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
151
+ ) -> ServerUpdateResponse:
152
+ """
153
+ Update an existing MCP server configuration
154
+
155
+ Args:
156
+ auth_header: The name of the authentication header (e.g., 'Authorization')
157
+
158
+ auth_token: The authentication token or API key value
159
+
160
+ custom_headers: Custom authentication headers as key-value pairs
161
+
162
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
163
+
164
+ extra_headers: Send extra headers
165
+
166
+ extra_query: Add additional query parameters to the request
167
+
168
+ extra_body: Add additional JSON properties to the request
169
+
170
+ timeout: Override the client-level default timeout for this request, in seconds
171
+ """
172
+ ...
173
+
174
+ def update(
175
+ self,
176
+ mcp_server_name: str,
177
+ *,
178
+ stdio_config: Optional[StdioServerConfigParam] | Omit = omit,
179
+ token: Optional[str] | Omit = omit,
180
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
181
+ server_url: Optional[str] | Omit = omit,
182
+ auth_header: Optional[str] | Omit = omit,
183
+ auth_token: Optional[str] | Omit = omit,
184
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
185
+ # The extra values given here take precedence over values defined on the client or passed to this method.
186
+ extra_headers: Headers | None = None,
187
+ extra_query: Query | None = None,
188
+ extra_body: Body | None = None,
189
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
190
+ ) -> ServerUpdateResponse:
191
+ if not mcp_server_name:
192
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
193
+ return cast(
194
+ ServerUpdateResponse,
195
+ self._patch(
196
+ f"/v1/tools/mcp/servers/{mcp_server_name}",
197
+ body=maybe_transform(
198
+ {
199
+ "stdio_config": stdio_config,
200
+ "token": token,
201
+ "custom_headers": custom_headers,
202
+ "server_url": server_url,
203
+ "auth_header": auth_header,
204
+ "auth_token": auth_token,
205
+ },
206
+ server_update_params.ServerUpdateParams,
207
+ ),
208
+ options=make_request_options(
209
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
210
+ ),
211
+ cast_to=cast(
212
+ Any, ServerUpdateResponse
213
+ ), # Union types cannot be passed in as arguments in the type system
214
+ ),
215
+ )
216
+
217
+ def list(
218
+ self,
219
+ *,
220
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
221
+ # The extra values given here take precedence over values defined on the client or passed to this method.
222
+ extra_headers: Headers | None = None,
223
+ extra_query: Query | None = None,
224
+ extra_body: Body | None = None,
225
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
226
+ ) -> ServerListResponse:
227
+ """Get a list of all configured MCP servers"""
228
+ return self._get(
229
+ "/v1/tools/mcp/servers",
230
+ options=make_request_options(
231
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
232
+ ),
233
+ cast_to=ServerListResponse,
234
+ )
235
+
236
+ def delete(
237
+ self,
238
+ mcp_server_name: str,
239
+ *,
240
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
241
+ # The extra values given here take precedence over values defined on the client or passed to this method.
242
+ extra_headers: Headers | None = None,
243
+ extra_query: Query | None = None,
244
+ extra_body: Body | None = None,
245
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
246
+ ) -> ServerDeleteResponse:
247
+ """
248
+ Delete a MCP server configuration
249
+
250
+ Args:
251
+ extra_headers: Send extra headers
252
+
253
+ extra_query: Add additional query parameters to the request
254
+
255
+ extra_body: Add additional JSON properties to the request
256
+
257
+ timeout: Override the client-level default timeout for this request, in seconds
258
+ """
259
+ if not mcp_server_name:
260
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
261
+ return self._delete(
262
+ f"/v1/tools/mcp/servers/{mcp_server_name}",
263
+ options=make_request_options(
264
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
265
+ ),
266
+ cast_to=ServerDeleteResponse,
267
+ )
268
+
269
+ @overload
270
+ def add(
271
+ self,
272
+ *,
273
+ args: SequenceNotStr[str],
274
+ command: str,
275
+ server_name: str,
276
+ env: Optional[Dict[str, str]] | Omit = omit,
277
+ type: McpServerType | Omit = omit,
278
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
279
+ # The extra values given here take precedence over values defined on the client or passed to this method.
280
+ extra_headers: Headers | None = None,
281
+ extra_query: Query | None = None,
282
+ extra_body: Body | None = None,
283
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
284
+ ) -> ServerAddResponse:
285
+ """
286
+ Add a new MCP server to the Letta MCP server config
287
+
288
+ Args:
289
+ args: The arguments to pass to the command
290
+
291
+ command: The command to run (MCP 'local' client will run this command)
292
+
293
+ server_name: The name of the server
294
+
295
+ env: Environment variables to set
296
+
297
+ extra_headers: Send extra headers
298
+
299
+ extra_query: Add additional query parameters to the request
300
+
301
+ extra_body: Add additional JSON properties to the request
302
+
303
+ timeout: Override the client-level default timeout for this request, in seconds
304
+ """
305
+ ...
306
+
307
+ @overload
308
+ def add(
309
+ self,
310
+ *,
311
+ server_name: str,
312
+ server_url: str,
313
+ auth_header: Optional[str] | Omit = omit,
314
+ auth_token: Optional[str] | Omit = omit,
315
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
316
+ type: McpServerType | Omit = omit,
317
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
318
+ # The extra values given here take precedence over values defined on the client or passed to this method.
319
+ extra_headers: Headers | None = None,
320
+ extra_query: Query | None = None,
321
+ extra_body: Body | None = None,
322
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
323
+ ) -> ServerAddResponse:
324
+ """
325
+ Add a new MCP server to the Letta MCP server config
326
+
327
+ Args:
328
+ server_name: The name of the server
329
+
330
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
331
+
332
+ auth_header: The name of the authentication header (e.g., 'Authorization')
333
+
334
+ auth_token: The authentication token or API key value
335
+
336
+ custom_headers: Custom HTTP headers to include with SSE requests
337
+
338
+ extra_headers: Send extra headers
339
+
340
+ extra_query: Add additional query parameters to the request
341
+
342
+ extra_body: Add additional JSON properties to the request
343
+
344
+ timeout: Override the client-level default timeout for this request, in seconds
345
+ """
346
+ ...
347
+
348
+ @overload
349
+ def add(
350
+ self,
351
+ *,
352
+ server_name: str,
353
+ server_url: str,
354
+ auth_header: Optional[str] | Omit = omit,
355
+ auth_token: Optional[str] | Omit = omit,
356
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
357
+ type: McpServerType | Omit = omit,
358
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
359
+ # The extra values given here take precedence over values defined on the client or passed to this method.
360
+ extra_headers: Headers | None = None,
361
+ extra_query: Query | None = None,
362
+ extra_body: Body | None = None,
363
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
364
+ ) -> ServerAddResponse:
365
+ """
366
+ Add a new MCP server to the Letta MCP server config
367
+
368
+ Args:
369
+ server_name: The name of the server
370
+
371
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
372
+
373
+ auth_header: The name of the authentication header (e.g., 'Authorization')
374
+
375
+ auth_token: The authentication token or API key value
376
+
377
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
378
+
379
+ extra_headers: Send extra headers
380
+
381
+ extra_query: Add additional query parameters to the request
382
+
383
+ extra_body: Add additional JSON properties to the request
384
+
385
+ timeout: Override the client-level default timeout for this request, in seconds
386
+ """
387
+ ...
388
+
389
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
390
+ def add(
391
+ self,
392
+ *,
393
+ args: SequenceNotStr[str] | Omit = omit,
394
+ command: str | Omit = omit,
395
+ server_name: str,
396
+ env: Optional[Dict[str, str]] | Omit = omit,
397
+ type: McpServerType | Omit = omit,
398
+ server_url: str | Omit = omit,
399
+ auth_header: Optional[str] | Omit = omit,
400
+ auth_token: Optional[str] | Omit = omit,
401
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
402
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
403
+ # The extra values given here take precedence over values defined on the client or passed to this method.
404
+ extra_headers: Headers | None = None,
405
+ extra_query: Query | None = None,
406
+ extra_body: Body | None = None,
407
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
408
+ ) -> ServerAddResponse:
409
+ return self._put(
410
+ "/v1/tools/mcp/servers",
411
+ body=maybe_transform(
412
+ {
413
+ "args": args,
414
+ "command": command,
415
+ "server_name": server_name,
416
+ "env": env,
417
+ "type": type,
418
+ "server_url": server_url,
419
+ "auth_header": auth_header,
420
+ "auth_token": auth_token,
421
+ "custom_headers": custom_headers,
422
+ },
423
+ server_add_params.ServerAddParams,
424
+ ),
425
+ options=make_request_options(
426
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
427
+ ),
428
+ cast_to=ServerAddResponse,
429
+ )
430
+
431
+ @overload
432
+ def connect(
433
+ self,
434
+ *,
435
+ args: SequenceNotStr[str],
436
+ command: str,
437
+ server_name: str,
438
+ env: Optional[Dict[str, str]] | Omit = omit,
439
+ type: McpServerType | Omit = omit,
440
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
441
+ # The extra values given here take precedence over values defined on the client or passed to this method.
442
+ extra_headers: Headers | None = None,
443
+ extra_query: Query | None = None,
444
+ extra_body: Body | None = None,
445
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
446
+ ) -> object:
447
+ """Connect to an MCP server with support for OAuth via SSE.
448
+
449
+ Returns a stream of
450
+ events handling authorization state and exchange if OAuth is required.
451
+
452
+ Args:
453
+ args: The arguments to pass to the command
454
+
455
+ command: The command to run (MCP 'local' client will run this command)
456
+
457
+ server_name: The name of the server
458
+
459
+ env: Environment variables to set
460
+
461
+ extra_headers: Send extra headers
462
+
463
+ extra_query: Add additional query parameters to the request
464
+
465
+ extra_body: Add additional JSON properties to the request
466
+
467
+ timeout: Override the client-level default timeout for this request, in seconds
468
+ """
469
+ ...
470
+
471
+ @overload
472
+ def connect(
473
+ self,
474
+ *,
475
+ server_name: str,
476
+ server_url: str,
477
+ auth_header: Optional[str] | Omit = omit,
478
+ auth_token: Optional[str] | Omit = omit,
479
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
480
+ type: McpServerType | Omit = omit,
481
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
482
+ # The extra values given here take precedence over values defined on the client or passed to this method.
483
+ extra_headers: Headers | None = None,
484
+ extra_query: Query | None = None,
485
+ extra_body: Body | None = None,
486
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
487
+ ) -> object:
488
+ """Connect to an MCP server with support for OAuth via SSE.
489
+
490
+ Returns a stream of
491
+ events handling authorization state and exchange if OAuth is required.
492
+
493
+ Args:
494
+ server_name: The name of the server
495
+
496
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
497
+
498
+ auth_header: The name of the authentication header (e.g., 'Authorization')
499
+
500
+ auth_token: The authentication token or API key value
501
+
502
+ custom_headers: Custom HTTP headers to include with SSE requests
503
+
504
+ extra_headers: Send extra headers
505
+
506
+ extra_query: Add additional query parameters to the request
507
+
508
+ extra_body: Add additional JSON properties to the request
509
+
510
+ timeout: Override the client-level default timeout for this request, in seconds
511
+ """
512
+ ...
513
+
514
+ @overload
515
+ def connect(
516
+ self,
517
+ *,
518
+ server_name: str,
519
+ server_url: str,
520
+ auth_header: Optional[str] | Omit = omit,
521
+ auth_token: Optional[str] | Omit = omit,
522
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
523
+ type: McpServerType | Omit = omit,
524
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
525
+ # The extra values given here take precedence over values defined on the client or passed to this method.
526
+ extra_headers: Headers | None = None,
527
+ extra_query: Query | None = None,
528
+ extra_body: Body | None = None,
529
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
530
+ ) -> object:
531
+ """Connect to an MCP server with support for OAuth via SSE.
532
+
533
+ Returns a stream of
534
+ events handling authorization state and exchange if OAuth is required.
535
+
536
+ Args:
537
+ server_name: The name of the server
538
+
539
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
540
+
541
+ auth_header: The name of the authentication header (e.g., 'Authorization')
542
+
543
+ auth_token: The authentication token or API key value
544
+
545
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
546
+
547
+ extra_headers: Send extra headers
548
+
549
+ extra_query: Add additional query parameters to the request
550
+
551
+ extra_body: Add additional JSON properties to the request
552
+
553
+ timeout: Override the client-level default timeout for this request, in seconds
554
+ """
555
+ ...
556
+
557
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
558
+ def connect(
559
+ self,
560
+ *,
561
+ args: SequenceNotStr[str] | Omit = omit,
562
+ command: str | Omit = omit,
563
+ server_name: str,
564
+ env: Optional[Dict[str, str]] | Omit = omit,
565
+ type: McpServerType | Omit = omit,
566
+ server_url: str | Omit = omit,
567
+ auth_header: Optional[str] | Omit = omit,
568
+ auth_token: Optional[str] | Omit = omit,
569
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
570
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
571
+ # The extra values given here take precedence over values defined on the client or passed to this method.
572
+ extra_headers: Headers | None = None,
573
+ extra_query: Query | None = None,
574
+ extra_body: Body | None = None,
575
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
576
+ ) -> object:
577
+ return self._post(
578
+ "/v1/tools/mcp/servers/connect",
579
+ body=maybe_transform(
580
+ {
581
+ "args": args,
582
+ "command": command,
583
+ "server_name": server_name,
584
+ "env": env,
585
+ "type": type,
586
+ "server_url": server_url,
587
+ "auth_header": auth_header,
588
+ "auth_token": auth_token,
589
+ "custom_headers": custom_headers,
590
+ },
591
+ server_connect_params.ServerConnectParams,
592
+ ),
593
+ options=make_request_options(
594
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
595
+ ),
596
+ cast_to=object,
597
+ )
598
+
599
+ def register_tool(
600
+ self,
601
+ mcp_tool_name: str,
602
+ *,
603
+ mcp_server_name: str,
604
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
605
+ # The extra values given here take precedence over values defined on the client or passed to this method.
606
+ extra_headers: Headers | None = None,
607
+ extra_query: Query | None = None,
608
+ extra_body: Body | None = None,
609
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
610
+ ) -> Tool:
611
+ """
612
+ Register a new MCP tool as a Letta server by MCP server + tool name
613
+
614
+ Args:
615
+ extra_headers: Send extra headers
616
+
617
+ extra_query: Add additional query parameters to the request
618
+
619
+ extra_body: Add additional JSON properties to the request
620
+
621
+ timeout: Override the client-level default timeout for this request, in seconds
622
+ """
623
+ if not mcp_server_name:
624
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
625
+ if not mcp_tool_name:
626
+ raise ValueError(f"Expected a non-empty value for `mcp_tool_name` but received {mcp_tool_name!r}")
627
+ return self._post(
628
+ f"/v1/tools/mcp/servers/{mcp_server_name}/{mcp_tool_name}",
629
+ options=make_request_options(
630
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
631
+ ),
632
+ cast_to=Tool,
633
+ )
634
+
635
+ def resync(
636
+ self,
637
+ mcp_server_name: str,
638
+ *,
639
+ agent_id: Optional[str] | Omit = omit,
640
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
641
+ # The extra values given here take precedence over values defined on the client or passed to this method.
642
+ extra_headers: Headers | None = None,
643
+ extra_query: Query | None = None,
644
+ extra_body: Body | None = None,
645
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
646
+ ) -> object:
647
+ """Resync tools for an MCP server by:
648
+
649
+ 1.
650
+
651
+ Fetching current tools from the MCP server
652
+ 2. Deleting tools that no longer exist on the server
653
+ 3. Updating schemas for existing tools
654
+ 4. Adding new tools from the server
655
+
656
+ Returns a summary of changes made.
657
+
658
+ Args:
659
+ extra_headers: Send extra headers
660
+
661
+ extra_query: Add additional query parameters to the request
662
+
663
+ extra_body: Add additional JSON properties to the request
664
+
665
+ timeout: Override the client-level default timeout for this request, in seconds
666
+ """
667
+ if not mcp_server_name:
668
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
669
+ return self._post(
670
+ f"/v1/tools/mcp/servers/{mcp_server_name}/resync",
671
+ options=make_request_options(
672
+ extra_headers=extra_headers,
673
+ extra_query=extra_query,
674
+ extra_body=extra_body,
675
+ timeout=timeout,
676
+ query=maybe_transform({"agent_id": agent_id}, server_resync_params.ServerResyncParams),
677
+ ),
678
+ cast_to=object,
679
+ )
680
+
681
+ @overload
682
+ def test(
683
+ self,
684
+ *,
685
+ args: SequenceNotStr[str],
686
+ command: str,
687
+ server_name: str,
688
+ env: Optional[Dict[str, str]] | Omit = omit,
689
+ type: McpServerType | Omit = omit,
690
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
691
+ # The extra values given here take precedence over values defined on the client or passed to this method.
692
+ extra_headers: Headers | None = None,
693
+ extra_query: Query | None = None,
694
+ extra_body: Body | None = None,
695
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
696
+ ) -> object:
697
+ """Test connection to an MCP server without adding it.
698
+
699
+ Returns the list of
700
+ available tools if successful.
701
+
702
+ Args:
703
+ args: The arguments to pass to the command
704
+
705
+ command: The command to run (MCP 'local' client will run this command)
706
+
707
+ server_name: The name of the server
708
+
709
+ env: Environment variables to set
710
+
711
+ extra_headers: Send extra headers
712
+
713
+ extra_query: Add additional query parameters to the request
714
+
715
+ extra_body: Add additional JSON properties to the request
716
+
717
+ timeout: Override the client-level default timeout for this request, in seconds
718
+ """
719
+ ...
720
+
721
+ @overload
722
+ def test(
723
+ self,
724
+ *,
725
+ server_name: str,
726
+ server_url: str,
727
+ auth_header: Optional[str] | Omit = omit,
728
+ auth_token: Optional[str] | Omit = omit,
729
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
730
+ type: McpServerType | Omit = omit,
731
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
732
+ # The extra values given here take precedence over values defined on the client or passed to this method.
733
+ extra_headers: Headers | None = None,
734
+ extra_query: Query | None = None,
735
+ extra_body: Body | None = None,
736
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
737
+ ) -> object:
738
+ """Test connection to an MCP server without adding it.
739
+
740
+ Returns the list of
741
+ available tools if successful.
742
+
743
+ Args:
744
+ server_name: The name of the server
745
+
746
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
747
+
748
+ auth_header: The name of the authentication header (e.g., 'Authorization')
749
+
750
+ auth_token: The authentication token or API key value
751
+
752
+ custom_headers: Custom HTTP headers to include with SSE requests
753
+
754
+ extra_headers: Send extra headers
755
+
756
+ extra_query: Add additional query parameters to the request
757
+
758
+ extra_body: Add additional JSON properties to the request
759
+
760
+ timeout: Override the client-level default timeout for this request, in seconds
761
+ """
762
+ ...
763
+
764
+ @overload
765
+ def test(
766
+ self,
767
+ *,
768
+ server_name: str,
769
+ server_url: str,
770
+ auth_header: Optional[str] | Omit = omit,
771
+ auth_token: Optional[str] | Omit = omit,
772
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
773
+ type: McpServerType | Omit = omit,
774
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
775
+ # The extra values given here take precedence over values defined on the client or passed to this method.
776
+ extra_headers: Headers | None = None,
777
+ extra_query: Query | None = None,
778
+ extra_body: Body | None = None,
779
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
780
+ ) -> object:
781
+ """Test connection to an MCP server without adding it.
782
+
783
+ Returns the list of
784
+ available tools if successful.
785
+
786
+ Args:
787
+ server_name: The name of the server
788
+
789
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
790
+
791
+ auth_header: The name of the authentication header (e.g., 'Authorization')
792
+
793
+ auth_token: The authentication token or API key value
794
+
795
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
796
+
797
+ extra_headers: Send extra headers
798
+
799
+ extra_query: Add additional query parameters to the request
800
+
801
+ extra_body: Add additional JSON properties to the request
802
+
803
+ timeout: Override the client-level default timeout for this request, in seconds
804
+ """
805
+ ...
806
+
807
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
808
+ def test(
809
+ self,
810
+ *,
811
+ args: SequenceNotStr[str] | Omit = omit,
812
+ command: str | Omit = omit,
813
+ server_name: str,
814
+ env: Optional[Dict[str, str]] | Omit = omit,
815
+ type: McpServerType | Omit = omit,
816
+ server_url: str | Omit = omit,
817
+ auth_header: Optional[str] | Omit = omit,
818
+ auth_token: Optional[str] | Omit = omit,
819
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
820
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
821
+ # The extra values given here take precedence over values defined on the client or passed to this method.
822
+ extra_headers: Headers | None = None,
823
+ extra_query: Query | None = None,
824
+ extra_body: Body | None = None,
825
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
826
+ ) -> object:
827
+ return self._post(
828
+ "/v1/tools/mcp/servers/test",
829
+ body=maybe_transform(
830
+ {
831
+ "args": args,
832
+ "command": command,
833
+ "server_name": server_name,
834
+ "env": env,
835
+ "type": type,
836
+ "server_url": server_url,
837
+ "auth_header": auth_header,
838
+ "auth_token": auth_token,
839
+ "custom_headers": custom_headers,
840
+ },
841
+ server_test_params.ServerTestParams,
842
+ ),
843
+ options=make_request_options(
844
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
845
+ ),
846
+ cast_to=object,
847
+ )
848
+
849
+
850
+ class AsyncServersResource(AsyncAPIResource):
851
+ @cached_property
852
+ def tools(self) -> AsyncToolsResource:
853
+ return AsyncToolsResource(self._client)
854
+
855
+ @cached_property
856
+ def with_raw_response(self) -> AsyncServersResourceWithRawResponse:
857
+ """
858
+ This property can be used as a prefix for any HTTP method call to return
859
+ the raw response object instead of the parsed content.
860
+
861
+ For more information, see https://www.github.com/letta-ai/letta-python#accessing-raw-response-data-eg-headers
862
+ """
863
+ return AsyncServersResourceWithRawResponse(self)
864
+
865
+ @cached_property
866
+ def with_streaming_response(self) -> AsyncServersResourceWithStreamingResponse:
867
+ """
868
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
869
+
870
+ For more information, see https://www.github.com/letta-ai/letta-python#with_streaming_response
871
+ """
872
+ return AsyncServersResourceWithStreamingResponse(self)
873
+
874
+ @overload
875
+ async def update(
876
+ self,
877
+ mcp_server_name: str,
878
+ *,
879
+ stdio_config: Optional[StdioServerConfigParam] | Omit = omit,
880
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
881
+ # The extra values given here take precedence over values defined on the client or passed to this method.
882
+ extra_headers: Headers | None = None,
883
+ extra_query: Query | None = None,
884
+ extra_body: Body | None = None,
885
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
886
+ ) -> ServerUpdateResponse:
887
+ """
888
+ Update an existing MCP server configuration
889
+
890
+ Args:
891
+ stdio_config: The configuration for the server (MCP 'local' client will run this command)
892
+
893
+ extra_headers: Send extra headers
894
+
895
+ extra_query: Add additional query parameters to the request
896
+
897
+ extra_body: Add additional JSON properties to the request
898
+
899
+ timeout: Override the client-level default timeout for this request, in seconds
900
+ """
901
+ ...
902
+
903
+ @overload
904
+ async def update(
905
+ self,
906
+ mcp_server_name: str,
907
+ *,
908
+ token: Optional[str] | Omit = omit,
909
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
910
+ server_url: Optional[str] | Omit = omit,
911
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
912
+ # The extra values given here take precedence over values defined on the client or passed to this method.
913
+ extra_headers: Headers | None = None,
914
+ extra_query: Query | None = None,
915
+ extra_body: Body | None = None,
916
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
917
+ ) -> ServerUpdateResponse:
918
+ """
919
+ Update an existing MCP server configuration
920
+
921
+ Args:
922
+ token: The access token or API key for the MCP server (used for SSE authentication)
923
+
924
+ custom_headers: Custom authentication headers as key-value pairs
925
+
926
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
927
+
928
+ extra_headers: Send extra headers
929
+
930
+ extra_query: Add additional query parameters to the request
931
+
932
+ extra_body: Add additional JSON properties to the request
933
+
934
+ timeout: Override the client-level default timeout for this request, in seconds
935
+ """
936
+ ...
937
+
938
+ @overload
939
+ async def update(
940
+ self,
941
+ mcp_server_name: str,
942
+ *,
943
+ auth_header: Optional[str] | Omit = omit,
944
+ auth_token: Optional[str] | Omit = omit,
945
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
946
+ server_url: Optional[str] | Omit = omit,
947
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
948
+ # The extra values given here take precedence over values defined on the client or passed to this method.
949
+ extra_headers: Headers | None = None,
950
+ extra_query: Query | None = None,
951
+ extra_body: Body | None = None,
952
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
953
+ ) -> ServerUpdateResponse:
954
+ """
955
+ Update an existing MCP server configuration
956
+
957
+ Args:
958
+ auth_header: The name of the authentication header (e.g., 'Authorization')
959
+
960
+ auth_token: The authentication token or API key value
961
+
962
+ custom_headers: Custom authentication headers as key-value pairs
963
+
964
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
965
+
966
+ extra_headers: Send extra headers
967
+
968
+ extra_query: Add additional query parameters to the request
969
+
970
+ extra_body: Add additional JSON properties to the request
971
+
972
+ timeout: Override the client-level default timeout for this request, in seconds
973
+ """
974
+ ...
975
+
976
+ async def update(
977
+ self,
978
+ mcp_server_name: str,
979
+ *,
980
+ stdio_config: Optional[StdioServerConfigParam] | Omit = omit,
981
+ token: Optional[str] | Omit = omit,
982
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
983
+ server_url: Optional[str] | Omit = omit,
984
+ auth_header: Optional[str] | Omit = omit,
985
+ auth_token: Optional[str] | Omit = omit,
986
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
987
+ # The extra values given here take precedence over values defined on the client or passed to this method.
988
+ extra_headers: Headers | None = None,
989
+ extra_query: Query | None = None,
990
+ extra_body: Body | None = None,
991
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
992
+ ) -> ServerUpdateResponse:
993
+ if not mcp_server_name:
994
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
995
+ return cast(
996
+ ServerUpdateResponse,
997
+ await self._patch(
998
+ f"/v1/tools/mcp/servers/{mcp_server_name}",
999
+ body=await async_maybe_transform(
1000
+ {
1001
+ "stdio_config": stdio_config,
1002
+ "token": token,
1003
+ "custom_headers": custom_headers,
1004
+ "server_url": server_url,
1005
+ "auth_header": auth_header,
1006
+ "auth_token": auth_token,
1007
+ },
1008
+ server_update_params.ServerUpdateParams,
1009
+ ),
1010
+ options=make_request_options(
1011
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1012
+ ),
1013
+ cast_to=cast(
1014
+ Any, ServerUpdateResponse
1015
+ ), # Union types cannot be passed in as arguments in the type system
1016
+ ),
1017
+ )
1018
+
1019
+ async def list(
1020
+ self,
1021
+ *,
1022
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1023
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1024
+ extra_headers: Headers | None = None,
1025
+ extra_query: Query | None = None,
1026
+ extra_body: Body | None = None,
1027
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1028
+ ) -> ServerListResponse:
1029
+ """Get a list of all configured MCP servers"""
1030
+ return await self._get(
1031
+ "/v1/tools/mcp/servers",
1032
+ options=make_request_options(
1033
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1034
+ ),
1035
+ cast_to=ServerListResponse,
1036
+ )
1037
+
1038
+ async def delete(
1039
+ self,
1040
+ mcp_server_name: str,
1041
+ *,
1042
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1043
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1044
+ extra_headers: Headers | None = None,
1045
+ extra_query: Query | None = None,
1046
+ extra_body: Body | None = None,
1047
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1048
+ ) -> ServerDeleteResponse:
1049
+ """
1050
+ Delete a MCP server configuration
1051
+
1052
+ Args:
1053
+ extra_headers: Send extra headers
1054
+
1055
+ extra_query: Add additional query parameters to the request
1056
+
1057
+ extra_body: Add additional JSON properties to the request
1058
+
1059
+ timeout: Override the client-level default timeout for this request, in seconds
1060
+ """
1061
+ if not mcp_server_name:
1062
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
1063
+ return await self._delete(
1064
+ f"/v1/tools/mcp/servers/{mcp_server_name}",
1065
+ options=make_request_options(
1066
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1067
+ ),
1068
+ cast_to=ServerDeleteResponse,
1069
+ )
1070
+
1071
+ @overload
1072
+ async def add(
1073
+ self,
1074
+ *,
1075
+ args: SequenceNotStr[str],
1076
+ command: str,
1077
+ server_name: str,
1078
+ env: Optional[Dict[str, str]] | Omit = omit,
1079
+ type: McpServerType | Omit = omit,
1080
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1081
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1082
+ extra_headers: Headers | None = None,
1083
+ extra_query: Query | None = None,
1084
+ extra_body: Body | None = None,
1085
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1086
+ ) -> ServerAddResponse:
1087
+ """
1088
+ Add a new MCP server to the Letta MCP server config
1089
+
1090
+ Args:
1091
+ args: The arguments to pass to the command
1092
+
1093
+ command: The command to run (MCP 'local' client will run this command)
1094
+
1095
+ server_name: The name of the server
1096
+
1097
+ env: Environment variables to set
1098
+
1099
+ extra_headers: Send extra headers
1100
+
1101
+ extra_query: Add additional query parameters to the request
1102
+
1103
+ extra_body: Add additional JSON properties to the request
1104
+
1105
+ timeout: Override the client-level default timeout for this request, in seconds
1106
+ """
1107
+ ...
1108
+
1109
+ @overload
1110
+ async def add(
1111
+ self,
1112
+ *,
1113
+ server_name: str,
1114
+ server_url: str,
1115
+ auth_header: Optional[str] | Omit = omit,
1116
+ auth_token: Optional[str] | Omit = omit,
1117
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1118
+ type: McpServerType | Omit = omit,
1119
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1120
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1121
+ extra_headers: Headers | None = None,
1122
+ extra_query: Query | None = None,
1123
+ extra_body: Body | None = None,
1124
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1125
+ ) -> ServerAddResponse:
1126
+ """
1127
+ Add a new MCP server to the Letta MCP server config
1128
+
1129
+ Args:
1130
+ server_name: The name of the server
1131
+
1132
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
1133
+
1134
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1135
+
1136
+ auth_token: The authentication token or API key value
1137
+
1138
+ custom_headers: Custom HTTP headers to include with SSE requests
1139
+
1140
+ extra_headers: Send extra headers
1141
+
1142
+ extra_query: Add additional query parameters to the request
1143
+
1144
+ extra_body: Add additional JSON properties to the request
1145
+
1146
+ timeout: Override the client-level default timeout for this request, in seconds
1147
+ """
1148
+ ...
1149
+
1150
+ @overload
1151
+ async def add(
1152
+ self,
1153
+ *,
1154
+ server_name: str,
1155
+ server_url: str,
1156
+ auth_header: Optional[str] | Omit = omit,
1157
+ auth_token: Optional[str] | Omit = omit,
1158
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1159
+ type: McpServerType | Omit = omit,
1160
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1161
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1162
+ extra_headers: Headers | None = None,
1163
+ extra_query: Query | None = None,
1164
+ extra_body: Body | None = None,
1165
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1166
+ ) -> ServerAddResponse:
1167
+ """
1168
+ Add a new MCP server to the Letta MCP server config
1169
+
1170
+ Args:
1171
+ server_name: The name of the server
1172
+
1173
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
1174
+
1175
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1176
+
1177
+ auth_token: The authentication token or API key value
1178
+
1179
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
1180
+
1181
+ extra_headers: Send extra headers
1182
+
1183
+ extra_query: Add additional query parameters to the request
1184
+
1185
+ extra_body: Add additional JSON properties to the request
1186
+
1187
+ timeout: Override the client-level default timeout for this request, in seconds
1188
+ """
1189
+ ...
1190
+
1191
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
1192
+ async def add(
1193
+ self,
1194
+ *,
1195
+ args: SequenceNotStr[str] | Omit = omit,
1196
+ command: str | Omit = omit,
1197
+ server_name: str,
1198
+ env: Optional[Dict[str, str]] | Omit = omit,
1199
+ type: McpServerType | Omit = omit,
1200
+ server_url: str | Omit = omit,
1201
+ auth_header: Optional[str] | Omit = omit,
1202
+ auth_token: Optional[str] | Omit = omit,
1203
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1204
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1205
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1206
+ extra_headers: Headers | None = None,
1207
+ extra_query: Query | None = None,
1208
+ extra_body: Body | None = None,
1209
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1210
+ ) -> ServerAddResponse:
1211
+ return await self._put(
1212
+ "/v1/tools/mcp/servers",
1213
+ body=await async_maybe_transform(
1214
+ {
1215
+ "args": args,
1216
+ "command": command,
1217
+ "server_name": server_name,
1218
+ "env": env,
1219
+ "type": type,
1220
+ "server_url": server_url,
1221
+ "auth_header": auth_header,
1222
+ "auth_token": auth_token,
1223
+ "custom_headers": custom_headers,
1224
+ },
1225
+ server_add_params.ServerAddParams,
1226
+ ),
1227
+ options=make_request_options(
1228
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1229
+ ),
1230
+ cast_to=ServerAddResponse,
1231
+ )
1232
+
1233
+ @overload
1234
+ async def connect(
1235
+ self,
1236
+ *,
1237
+ args: SequenceNotStr[str],
1238
+ command: str,
1239
+ server_name: str,
1240
+ env: Optional[Dict[str, str]] | Omit = omit,
1241
+ type: McpServerType | Omit = omit,
1242
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1243
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1244
+ extra_headers: Headers | None = None,
1245
+ extra_query: Query | None = None,
1246
+ extra_body: Body | None = None,
1247
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1248
+ ) -> object:
1249
+ """Connect to an MCP server with support for OAuth via SSE.
1250
+
1251
+ Returns a stream of
1252
+ events handling authorization state and exchange if OAuth is required.
1253
+
1254
+ Args:
1255
+ args: The arguments to pass to the command
1256
+
1257
+ command: The command to run (MCP 'local' client will run this command)
1258
+
1259
+ server_name: The name of the server
1260
+
1261
+ env: Environment variables to set
1262
+
1263
+ extra_headers: Send extra headers
1264
+
1265
+ extra_query: Add additional query parameters to the request
1266
+
1267
+ extra_body: Add additional JSON properties to the request
1268
+
1269
+ timeout: Override the client-level default timeout for this request, in seconds
1270
+ """
1271
+ ...
1272
+
1273
+ @overload
1274
+ async def connect(
1275
+ self,
1276
+ *,
1277
+ server_name: str,
1278
+ server_url: str,
1279
+ auth_header: Optional[str] | Omit = omit,
1280
+ auth_token: Optional[str] | Omit = omit,
1281
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1282
+ type: McpServerType | Omit = omit,
1283
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1284
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1285
+ extra_headers: Headers | None = None,
1286
+ extra_query: Query | None = None,
1287
+ extra_body: Body | None = None,
1288
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1289
+ ) -> object:
1290
+ """Connect to an MCP server with support for OAuth via SSE.
1291
+
1292
+ Returns a stream of
1293
+ events handling authorization state and exchange if OAuth is required.
1294
+
1295
+ Args:
1296
+ server_name: The name of the server
1297
+
1298
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
1299
+
1300
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1301
+
1302
+ auth_token: The authentication token or API key value
1303
+
1304
+ custom_headers: Custom HTTP headers to include with SSE requests
1305
+
1306
+ extra_headers: Send extra headers
1307
+
1308
+ extra_query: Add additional query parameters to the request
1309
+
1310
+ extra_body: Add additional JSON properties to the request
1311
+
1312
+ timeout: Override the client-level default timeout for this request, in seconds
1313
+ """
1314
+ ...
1315
+
1316
+ @overload
1317
+ async def connect(
1318
+ self,
1319
+ *,
1320
+ server_name: str,
1321
+ server_url: str,
1322
+ auth_header: Optional[str] | Omit = omit,
1323
+ auth_token: Optional[str] | Omit = omit,
1324
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1325
+ type: McpServerType | Omit = omit,
1326
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1327
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1328
+ extra_headers: Headers | None = None,
1329
+ extra_query: Query | None = None,
1330
+ extra_body: Body | None = None,
1331
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1332
+ ) -> object:
1333
+ """Connect to an MCP server with support for OAuth via SSE.
1334
+
1335
+ Returns a stream of
1336
+ events handling authorization state and exchange if OAuth is required.
1337
+
1338
+ Args:
1339
+ server_name: The name of the server
1340
+
1341
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
1342
+
1343
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1344
+
1345
+ auth_token: The authentication token or API key value
1346
+
1347
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
1348
+
1349
+ extra_headers: Send extra headers
1350
+
1351
+ extra_query: Add additional query parameters to the request
1352
+
1353
+ extra_body: Add additional JSON properties to the request
1354
+
1355
+ timeout: Override the client-level default timeout for this request, in seconds
1356
+ """
1357
+ ...
1358
+
1359
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
1360
+ async def connect(
1361
+ self,
1362
+ *,
1363
+ args: SequenceNotStr[str] | Omit = omit,
1364
+ command: str | Omit = omit,
1365
+ server_name: str,
1366
+ env: Optional[Dict[str, str]] | Omit = omit,
1367
+ type: McpServerType | Omit = omit,
1368
+ server_url: str | Omit = omit,
1369
+ auth_header: Optional[str] | Omit = omit,
1370
+ auth_token: Optional[str] | Omit = omit,
1371
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1372
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1373
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1374
+ extra_headers: Headers | None = None,
1375
+ extra_query: Query | None = None,
1376
+ extra_body: Body | None = None,
1377
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1378
+ ) -> object:
1379
+ return await self._post(
1380
+ "/v1/tools/mcp/servers/connect",
1381
+ body=await async_maybe_transform(
1382
+ {
1383
+ "args": args,
1384
+ "command": command,
1385
+ "server_name": server_name,
1386
+ "env": env,
1387
+ "type": type,
1388
+ "server_url": server_url,
1389
+ "auth_header": auth_header,
1390
+ "auth_token": auth_token,
1391
+ "custom_headers": custom_headers,
1392
+ },
1393
+ server_connect_params.ServerConnectParams,
1394
+ ),
1395
+ options=make_request_options(
1396
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1397
+ ),
1398
+ cast_to=object,
1399
+ )
1400
+
1401
+ async def register_tool(
1402
+ self,
1403
+ mcp_tool_name: str,
1404
+ *,
1405
+ mcp_server_name: str,
1406
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1407
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1408
+ extra_headers: Headers | None = None,
1409
+ extra_query: Query | None = None,
1410
+ extra_body: Body | None = None,
1411
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1412
+ ) -> Tool:
1413
+ """
1414
+ Register a new MCP tool as a Letta server by MCP server + tool name
1415
+
1416
+ Args:
1417
+ extra_headers: Send extra headers
1418
+
1419
+ extra_query: Add additional query parameters to the request
1420
+
1421
+ extra_body: Add additional JSON properties to the request
1422
+
1423
+ timeout: Override the client-level default timeout for this request, in seconds
1424
+ """
1425
+ if not mcp_server_name:
1426
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
1427
+ if not mcp_tool_name:
1428
+ raise ValueError(f"Expected a non-empty value for `mcp_tool_name` but received {mcp_tool_name!r}")
1429
+ return await self._post(
1430
+ f"/v1/tools/mcp/servers/{mcp_server_name}/{mcp_tool_name}",
1431
+ options=make_request_options(
1432
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1433
+ ),
1434
+ cast_to=Tool,
1435
+ )
1436
+
1437
+ async def resync(
1438
+ self,
1439
+ mcp_server_name: str,
1440
+ *,
1441
+ agent_id: Optional[str] | Omit = omit,
1442
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1443
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1444
+ extra_headers: Headers | None = None,
1445
+ extra_query: Query | None = None,
1446
+ extra_body: Body | None = None,
1447
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1448
+ ) -> object:
1449
+ """Resync tools for an MCP server by:
1450
+
1451
+ 1.
1452
+
1453
+ Fetching current tools from the MCP server
1454
+ 2. Deleting tools that no longer exist on the server
1455
+ 3. Updating schemas for existing tools
1456
+ 4. Adding new tools from the server
1457
+
1458
+ Returns a summary of changes made.
1459
+
1460
+ Args:
1461
+ extra_headers: Send extra headers
1462
+
1463
+ extra_query: Add additional query parameters to the request
1464
+
1465
+ extra_body: Add additional JSON properties to the request
1466
+
1467
+ timeout: Override the client-level default timeout for this request, in seconds
1468
+ """
1469
+ if not mcp_server_name:
1470
+ raise ValueError(f"Expected a non-empty value for `mcp_server_name` but received {mcp_server_name!r}")
1471
+ return await self._post(
1472
+ f"/v1/tools/mcp/servers/{mcp_server_name}/resync",
1473
+ options=make_request_options(
1474
+ extra_headers=extra_headers,
1475
+ extra_query=extra_query,
1476
+ extra_body=extra_body,
1477
+ timeout=timeout,
1478
+ query=await async_maybe_transform({"agent_id": agent_id}, server_resync_params.ServerResyncParams),
1479
+ ),
1480
+ cast_to=object,
1481
+ )
1482
+
1483
+ @overload
1484
+ async def test(
1485
+ self,
1486
+ *,
1487
+ args: SequenceNotStr[str],
1488
+ command: str,
1489
+ server_name: str,
1490
+ env: Optional[Dict[str, str]] | Omit = omit,
1491
+ type: McpServerType | Omit = omit,
1492
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1493
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1494
+ extra_headers: Headers | None = None,
1495
+ extra_query: Query | None = None,
1496
+ extra_body: Body | None = None,
1497
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1498
+ ) -> object:
1499
+ """Test connection to an MCP server without adding it.
1500
+
1501
+ Returns the list of
1502
+ available tools if successful.
1503
+
1504
+ Args:
1505
+ args: The arguments to pass to the command
1506
+
1507
+ command: The command to run (MCP 'local' client will run this command)
1508
+
1509
+ server_name: The name of the server
1510
+
1511
+ env: Environment variables to set
1512
+
1513
+ extra_headers: Send extra headers
1514
+
1515
+ extra_query: Add additional query parameters to the request
1516
+
1517
+ extra_body: Add additional JSON properties to the request
1518
+
1519
+ timeout: Override the client-level default timeout for this request, in seconds
1520
+ """
1521
+ ...
1522
+
1523
+ @overload
1524
+ async def test(
1525
+ self,
1526
+ *,
1527
+ server_name: str,
1528
+ server_url: str,
1529
+ auth_header: Optional[str] | Omit = omit,
1530
+ auth_token: Optional[str] | Omit = omit,
1531
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1532
+ type: McpServerType | Omit = omit,
1533
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1534
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1535
+ extra_headers: Headers | None = None,
1536
+ extra_query: Query | None = None,
1537
+ extra_body: Body | None = None,
1538
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1539
+ ) -> object:
1540
+ """Test connection to an MCP server without adding it.
1541
+
1542
+ Returns the list of
1543
+ available tools if successful.
1544
+
1545
+ Args:
1546
+ server_name: The name of the server
1547
+
1548
+ server_url: The URL of the server (MCP SSE client will connect to this URL)
1549
+
1550
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1551
+
1552
+ auth_token: The authentication token or API key value
1553
+
1554
+ custom_headers: Custom HTTP headers to include with SSE requests
1555
+
1556
+ extra_headers: Send extra headers
1557
+
1558
+ extra_query: Add additional query parameters to the request
1559
+
1560
+ extra_body: Add additional JSON properties to the request
1561
+
1562
+ timeout: Override the client-level default timeout for this request, in seconds
1563
+ """
1564
+ ...
1565
+
1566
+ @overload
1567
+ async def test(
1568
+ self,
1569
+ *,
1570
+ server_name: str,
1571
+ server_url: str,
1572
+ auth_header: Optional[str] | Omit = omit,
1573
+ auth_token: Optional[str] | Omit = omit,
1574
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1575
+ type: McpServerType | Omit = omit,
1576
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1577
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1578
+ extra_headers: Headers | None = None,
1579
+ extra_query: Query | None = None,
1580
+ extra_body: Body | None = None,
1581
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1582
+ ) -> object:
1583
+ """Test connection to an MCP server without adding it.
1584
+
1585
+ Returns the list of
1586
+ available tools if successful.
1587
+
1588
+ Args:
1589
+ server_name: The name of the server
1590
+
1591
+ server_url: The URL path for the streamable HTTP server (e.g., 'example/mcp')
1592
+
1593
+ auth_header: The name of the authentication header (e.g., 'Authorization')
1594
+
1595
+ auth_token: The authentication token or API key value
1596
+
1597
+ custom_headers: Custom HTTP headers to include with streamable HTTP requests
1598
+
1599
+ extra_headers: Send extra headers
1600
+
1601
+ extra_query: Add additional query parameters to the request
1602
+
1603
+ extra_body: Add additional JSON properties to the request
1604
+
1605
+ timeout: Override the client-level default timeout for this request, in seconds
1606
+ """
1607
+ ...
1608
+
1609
+ @required_args(["args", "command", "server_name"], ["server_name", "server_url"])
1610
+ async def test(
1611
+ self,
1612
+ *,
1613
+ args: SequenceNotStr[str] | Omit = omit,
1614
+ command: str | Omit = omit,
1615
+ server_name: str,
1616
+ env: Optional[Dict[str, str]] | Omit = omit,
1617
+ type: McpServerType | Omit = omit,
1618
+ server_url: str | Omit = omit,
1619
+ auth_header: Optional[str] | Omit = omit,
1620
+ auth_token: Optional[str] | Omit = omit,
1621
+ custom_headers: Optional[Dict[str, str]] | Omit = omit,
1622
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1623
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1624
+ extra_headers: Headers | None = None,
1625
+ extra_query: Query | None = None,
1626
+ extra_body: Body | None = None,
1627
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
1628
+ ) -> object:
1629
+ return await self._post(
1630
+ "/v1/tools/mcp/servers/test",
1631
+ body=await async_maybe_transform(
1632
+ {
1633
+ "args": args,
1634
+ "command": command,
1635
+ "server_name": server_name,
1636
+ "env": env,
1637
+ "type": type,
1638
+ "server_url": server_url,
1639
+ "auth_header": auth_header,
1640
+ "auth_token": auth_token,
1641
+ "custom_headers": custom_headers,
1642
+ },
1643
+ server_test_params.ServerTestParams,
1644
+ ),
1645
+ options=make_request_options(
1646
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1647
+ ),
1648
+ cast_to=object,
1649
+ )
1650
+
1651
+
1652
+ class ServersResourceWithRawResponse:
1653
+ def __init__(self, servers: ServersResource) -> None:
1654
+ self._servers = servers
1655
+
1656
+ self.update = to_raw_response_wrapper(
1657
+ servers.update,
1658
+ )
1659
+ self.list = to_raw_response_wrapper(
1660
+ servers.list,
1661
+ )
1662
+ self.delete = to_raw_response_wrapper(
1663
+ servers.delete,
1664
+ )
1665
+ self.add = to_raw_response_wrapper(
1666
+ servers.add,
1667
+ )
1668
+ self.connect = to_raw_response_wrapper(
1669
+ servers.connect,
1670
+ )
1671
+ self.register_tool = to_raw_response_wrapper(
1672
+ servers.register_tool,
1673
+ )
1674
+ self.resync = to_raw_response_wrapper(
1675
+ servers.resync,
1676
+ )
1677
+ self.test = to_raw_response_wrapper(
1678
+ servers.test,
1679
+ )
1680
+
1681
+ @cached_property
1682
+ def tools(self) -> ToolsResourceWithRawResponse:
1683
+ return ToolsResourceWithRawResponse(self._servers.tools)
1684
+
1685
+
1686
+ class AsyncServersResourceWithRawResponse:
1687
+ def __init__(self, servers: AsyncServersResource) -> None:
1688
+ self._servers = servers
1689
+
1690
+ self.update = async_to_raw_response_wrapper(
1691
+ servers.update,
1692
+ )
1693
+ self.list = async_to_raw_response_wrapper(
1694
+ servers.list,
1695
+ )
1696
+ self.delete = async_to_raw_response_wrapper(
1697
+ servers.delete,
1698
+ )
1699
+ self.add = async_to_raw_response_wrapper(
1700
+ servers.add,
1701
+ )
1702
+ self.connect = async_to_raw_response_wrapper(
1703
+ servers.connect,
1704
+ )
1705
+ self.register_tool = async_to_raw_response_wrapper(
1706
+ servers.register_tool,
1707
+ )
1708
+ self.resync = async_to_raw_response_wrapper(
1709
+ servers.resync,
1710
+ )
1711
+ self.test = async_to_raw_response_wrapper(
1712
+ servers.test,
1713
+ )
1714
+
1715
+ @cached_property
1716
+ def tools(self) -> AsyncToolsResourceWithRawResponse:
1717
+ return AsyncToolsResourceWithRawResponse(self._servers.tools)
1718
+
1719
+
1720
+ class ServersResourceWithStreamingResponse:
1721
+ def __init__(self, servers: ServersResource) -> None:
1722
+ self._servers = servers
1723
+
1724
+ self.update = to_streamed_response_wrapper(
1725
+ servers.update,
1726
+ )
1727
+ self.list = to_streamed_response_wrapper(
1728
+ servers.list,
1729
+ )
1730
+ self.delete = to_streamed_response_wrapper(
1731
+ servers.delete,
1732
+ )
1733
+ self.add = to_streamed_response_wrapper(
1734
+ servers.add,
1735
+ )
1736
+ self.connect = to_streamed_response_wrapper(
1737
+ servers.connect,
1738
+ )
1739
+ self.register_tool = to_streamed_response_wrapper(
1740
+ servers.register_tool,
1741
+ )
1742
+ self.resync = to_streamed_response_wrapper(
1743
+ servers.resync,
1744
+ )
1745
+ self.test = to_streamed_response_wrapper(
1746
+ servers.test,
1747
+ )
1748
+
1749
+ @cached_property
1750
+ def tools(self) -> ToolsResourceWithStreamingResponse:
1751
+ return ToolsResourceWithStreamingResponse(self._servers.tools)
1752
+
1753
+
1754
+ class AsyncServersResourceWithStreamingResponse:
1755
+ def __init__(self, servers: AsyncServersResource) -> None:
1756
+ self._servers = servers
1757
+
1758
+ self.update = async_to_streamed_response_wrapper(
1759
+ servers.update,
1760
+ )
1761
+ self.list = async_to_streamed_response_wrapper(
1762
+ servers.list,
1763
+ )
1764
+ self.delete = async_to_streamed_response_wrapper(
1765
+ servers.delete,
1766
+ )
1767
+ self.add = async_to_streamed_response_wrapper(
1768
+ servers.add,
1769
+ )
1770
+ self.connect = async_to_streamed_response_wrapper(
1771
+ servers.connect,
1772
+ )
1773
+ self.register_tool = async_to_streamed_response_wrapper(
1774
+ servers.register_tool,
1775
+ )
1776
+ self.resync = async_to_streamed_response_wrapper(
1777
+ servers.resync,
1778
+ )
1779
+ self.test = async_to_streamed_response_wrapper(
1780
+ servers.test,
1781
+ )
1782
+
1783
+ @cached_property
1784
+ def tools(self) -> AsyncToolsResourceWithStreamingResponse:
1785
+ return AsyncToolsResourceWithStreamingResponse(self._servers.tools)