letta-client 1.0.0a3__py3-none-any.whl → 1.0.0a4__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 (86) hide show
  1. letta_client/__init__.py +12 -0
  2. letta_client/agents/blocks/client.py +28 -14
  3. letta_client/agents/blocks/raw_client.py +14 -0
  4. letta_client/agents/client.py +36 -8
  5. letta_client/agents/context/client.py +4 -2
  6. letta_client/agents/context/raw_client.py +2 -0
  7. letta_client/agents/core_memory/client.py +4 -2
  8. letta_client/agents/core_memory/raw_client.py +2 -0
  9. letta_client/agents/files/client.py +24 -12
  10. letta_client/agents/files/raw_client.py +12 -0
  11. letta_client/agents/folders/client.py +20 -10
  12. letta_client/agents/folders/raw_client.py +10 -0
  13. letta_client/agents/groups/client.py +4 -2
  14. letta_client/agents/groups/raw_client.py +2 -0
  15. letta_client/agents/messages/client.py +40 -20
  16. letta_client/agents/messages/raw_client.py +20 -0
  17. letta_client/agents/passages/client.py +16 -8
  18. letta_client/agents/passages/raw_client.py +8 -0
  19. letta_client/agents/raw_client.py +28 -0
  20. letta_client/agents/sources/client.py +20 -10
  21. letta_client/agents/sources/raw_client.py +10 -0
  22. letta_client/agents/tools/client.py +24 -12
  23. letta_client/agents/tools/raw_client.py +12 -0
  24. letta_client/archives/client.py +4 -2
  25. letta_client/archives/raw_client.py +2 -0
  26. letta_client/blocks/agents/client.py +4 -2
  27. letta_client/blocks/agents/raw_client.py +2 -0
  28. letta_client/blocks/client.py +12 -6
  29. letta_client/blocks/raw_client.py +6 -0
  30. letta_client/core/client_wrapper.py +2 -2
  31. letta_client/groups/client.py +12 -6
  32. letta_client/groups/messages/client.py +24 -12
  33. letta_client/groups/messages/raw_client.py +12 -0
  34. letta_client/groups/raw_client.py +6 -0
  35. letta_client/identities/agents/client.py +4 -2
  36. letta_client/identities/agents/raw_client.py +2 -0
  37. letta_client/identities/blocks/client.py +4 -2
  38. letta_client/identities/blocks/raw_client.py +2 -0
  39. letta_client/identities/client.py +12 -6
  40. letta_client/identities/properties/client.py +4 -2
  41. letta_client/identities/properties/raw_client.py +2 -0
  42. letta_client/identities/raw_client.py +6 -0
  43. letta_client/jobs/client.py +12 -6
  44. letta_client/jobs/raw_client.py +6 -0
  45. letta_client/providers/client.py +16 -8
  46. letta_client/providers/raw_client.py +8 -0
  47. letta_client/sources/client.py +24 -12
  48. letta_client/sources/files/client.py +16 -8
  49. letta_client/sources/files/raw_client.py +8 -0
  50. letta_client/sources/passages/client.py +4 -2
  51. letta_client/sources/passages/raw_client.py +2 -0
  52. letta_client/sources/raw_client.py +12 -0
  53. letta_client/steps/client.py +4 -2
  54. letta_client/steps/feedback/client.py +4 -2
  55. letta_client/steps/feedback/raw_client.py +2 -0
  56. letta_client/steps/messages/client.py +4 -2
  57. letta_client/steps/messages/raw_client.py +2 -0
  58. letta_client/steps/metrics/client.py +4 -2
  59. letta_client/steps/metrics/raw_client.py +2 -0
  60. letta_client/steps/raw_client.py +2 -0
  61. letta_client/steps/trace/client.py +4 -2
  62. letta_client/steps/trace/raw_client.py +2 -0
  63. letta_client/templates/__init__.py +8 -0
  64. letta_client/templates/types/__init__.py +16 -0
  65. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +6 -0
  66. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls.py +14 -0
  67. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item.py +7 -0
  68. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +6 -0
  69. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution.py +15 -0
  70. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item.py +7 -0
  71. letta_client/tools/client.py +42 -6
  72. letta_client/tools/raw_client.py +36 -0
  73. letta_client/types/__init__.py +4 -0
  74. letta_client/types/approval_request_message.py +12 -0
  75. letta_client/types/approval_request_message_allowed_tool_calls.py +8 -0
  76. letta_client/types/approval_request_message_requested_tool_calls.py +8 -0
  77. letta_client/types/internal_template_agent_create.py +5 -0
  78. letta_client/types/letta_schemas_agent_file_agent_schema.py +5 -0
  79. letta_client/types/letta_schemas_agent_file_tool_schema.py +5 -0
  80. letta_client/types/llm_config.py +5 -0
  81. letta_client/types/run_metrics.py +5 -0
  82. letta_client/types/tool.py +5 -0
  83. letta_client/types/tool_create.py +5 -0
  84. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/METADATA +1 -1
  85. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/RECORD +86 -80
  86. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/WHEEL +0 -0
@@ -30,6 +30,7 @@ class TraceClient:
30
30
  Parameters
31
31
  ----------
32
32
  step_id : str
33
+ The ID of the step in the format 'step-<uuid4>'
33
34
 
34
35
  request_options : typing.Optional[RequestOptions]
35
36
  Request-specific configuration.
@@ -48,7 +49,7 @@ class TraceClient:
48
49
  token="YOUR_TOKEN",
49
50
  )
50
51
  client.steps.trace.retrieve(
51
- step_id="step_id",
52
+ step_id="step-123e4567-e89b-42d3-8456-426614174000",
52
53
  )
53
54
  """
54
55
  _response = self._raw_client.retrieve(step_id, request_options=request_options)
@@ -77,6 +78,7 @@ class AsyncTraceClient:
77
78
  Parameters
78
79
  ----------
79
80
  step_id : str
81
+ The ID of the step in the format 'step-<uuid4>'
80
82
 
81
83
  request_options : typing.Optional[RequestOptions]
82
84
  Request-specific configuration.
@@ -100,7 +102,7 @@ class AsyncTraceClient:
100
102
 
101
103
  async def main() -> None:
102
104
  await client.steps.trace.retrieve(
103
- step_id="step_id",
105
+ step_id="step-123e4567-e89b-42d3-8456-426614174000",
104
106
  )
105
107
 
106
108
 
@@ -25,6 +25,7 @@ class RawTraceClient:
25
25
  Parameters
26
26
  ----------
27
27
  step_id : str
28
+ The ID of the step in the format 'step-<uuid4>'
28
29
 
29
30
  request_options : typing.Optional[RequestOptions]
30
31
  Request-specific configuration.
@@ -79,6 +80,7 @@ class AsyncRawTraceClient:
79
80
  Parameters
80
81
  ----------
81
82
  step_id : str
83
+ The ID of the step in the format 'step-<uuid4>'
82
84
 
83
85
  request_options : typing.Optional[RequestOptions]
84
86
  Request-specific configuration.
@@ -64,6 +64,8 @@ from .types import (
64
64
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType,
65
65
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper,
66
66
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem,
67
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls,
68
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem,
67
69
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory,
68
70
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategoryItem,
69
71
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderName,
@@ -403,6 +405,8 @@ from .types import (
403
405
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApprovalItem,
404
406
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription,
405
407
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem,
408
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution,
409
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem,
406
410
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema,
407
411
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem,
408
412
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById,
@@ -568,6 +572,8 @@ __all__ = [
568
572
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType",
569
573
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper",
570
574
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem",
575
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls",
576
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem",
571
577
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory",
572
578
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategoryItem",
573
579
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderName",
@@ -907,6 +913,8 @@ __all__ = [
907
913
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApprovalItem",
908
914
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription",
909
915
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem",
916
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution",
917
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem",
910
918
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema",
911
919
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem",
912
920
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById",
@@ -183,6 +183,12 @@ from .templates_create_agents_from_template_response_agents_item_llm_config_mode
183
183
  from .templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item import (
184
184
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem,
185
185
  )
186
+ from .templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls import (
187
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls,
188
+ )
189
+ from .templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item import (
190
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem,
191
+ )
186
192
  from .templates_create_agents_from_template_response_agents_item_llm_config_provider_category import (
187
193
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory,
188
194
  )
@@ -1200,6 +1206,12 @@ from .templates_create_agents_from_template_response_agents_item_tools_item_desc
1200
1206
  from .templates_create_agents_from_template_response_agents_item_tools_item_description_item import (
1201
1207
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem,
1202
1208
  )
1209
+ from .templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution import (
1210
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution,
1211
+ )
1212
+ from .templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item import (
1213
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem,
1214
+ )
1203
1215
  from .templates_create_agents_from_template_response_agents_item_tools_item_json_schema import (
1204
1216
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema,
1205
1217
  )
@@ -1519,6 +1531,8 @@ __all__ = [
1519
1531
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType",
1520
1532
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper",
1521
1533
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapperItem",
1534
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls",
1535
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem",
1522
1536
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory",
1523
1537
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategoryItem",
1524
1538
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderName",
@@ -1858,6 +1872,8 @@ __all__ = [
1858
1872
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApprovalItem",
1859
1873
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription",
1860
1874
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescriptionItem",
1875
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution",
1876
+ "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem",
1861
1877
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema",
1862
1878
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchemaItem",
1863
1879
  "TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById",
@@ -35,6 +35,9 @@ from .templates_create_agents_from_template_response_agents_item_llm_config_mode
35
35
  from .templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper import (
36
36
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelWrapper,
37
37
  )
38
+ from .templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls import (
39
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls,
40
+ )
38
41
  from .templates_create_agents_from_template_response_agents_item_llm_config_provider_category import (
39
42
  TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigProviderCategory,
40
43
  )
@@ -90,6 +93,9 @@ class TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig(UncheckedBase
90
93
  ] = None
91
94
  verbosity: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigVerbosity] = None
92
95
  tier: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigTier] = None
96
+ parallel_tool_calls: typing.Optional[
97
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls
98
+ ] = None
93
99
 
94
100
  if IS_PYDANTIC_V2:
95
101
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -0,0 +1,14 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item import (
6
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem,
7
+ )
8
+
9
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls = typing.Union[
10
+ bool,
11
+ typing.Optional[str],
12
+ typing.List[typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem]],
13
+ typing.Optional[typing.Any],
14
+ ]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem = typing.Union[
6
+ bool, typing.Optional[str]
7
+ ]
@@ -19,6 +19,9 @@ from .templates_create_agents_from_template_response_agents_item_tools_item_defa
19
19
  from .templates_create_agents_from_template_response_agents_item_tools_item_description import (
20
20
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDescription,
21
21
  )
22
+ from .templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution import (
23
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution,
24
+ )
22
25
  from .templates_create_agents_from_template_response_agents_item_tools_item_json_schema import (
23
26
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemJsonSchema,
24
27
  )
@@ -68,6 +71,9 @@ class TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem(UncheckedBase
68
71
  default_requires_approval: typing.Optional[
69
72
  TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemDefaultRequiresApproval
70
73
  ] = None
74
+ enable_parallel_execution: typing.Optional[
75
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution
76
+ ] = None
71
77
  created_by_id: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemCreatedById] = None
72
78
  last_updated_by_id: typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemLastUpdatedById] = (
73
79
  None
@@ -0,0 +1,15 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item import (
6
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem,
7
+ )
8
+
9
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution = typing.Union[
10
+ bool,
11
+ typing.Optional[str],
12
+ typing.List[
13
+ typing.Optional[TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem]
14
+ ],
15
+ ]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem = typing.Union[
6
+ bool, typing.Optional[str]
7
+ ]
@@ -47,6 +47,7 @@ class ToolsClient:
47
47
  Parameters
48
48
  ----------
49
49
  tool_id : str
50
+ The ID of the tool in the format 'tool-<uuid4>'
50
51
 
51
52
  request_options : typing.Optional[RequestOptions]
52
53
  Request-specific configuration.
@@ -65,7 +66,7 @@ class ToolsClient:
65
66
  token="YOUR_TOKEN",
66
67
  )
67
68
  client.tools.retrieve(
68
- tool_id="tool_id",
69
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
69
70
  )
70
71
  """
71
72
  _response = self._raw_client.retrieve(tool_id, request_options=request_options)
@@ -80,6 +81,7 @@ class ToolsClient:
80
81
  Parameters
81
82
  ----------
82
83
  tool_id : str
84
+ The ID of the tool in the format 'tool-<uuid4>'
83
85
 
84
86
  request_options : typing.Optional[RequestOptions]
85
87
  Request-specific configuration.
@@ -98,7 +100,7 @@ class ToolsClient:
98
100
  token="YOUR_TOKEN",
99
101
  )
100
102
  client.tools.delete(
101
- tool_id="tool_id",
103
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
102
104
  )
103
105
  """
104
106
  _response = self._raw_client.delete(tool_id, request_options=request_options)
@@ -119,6 +121,7 @@ class ToolsClient:
119
121
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
120
122
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
121
123
  default_requires_approval: typing.Optional[bool] = OMIT,
124
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
122
125
  request_options: typing.Optional[RequestOptions] = None,
123
126
  ) -> Tool:
124
127
  """
@@ -127,6 +130,7 @@ class ToolsClient:
127
130
  Parameters
128
131
  ----------
129
132
  tool_id : str
133
+ The ID of the tool in the format 'tool-<uuid4>'
130
134
 
131
135
  description : typing.Optional[str]
132
136
  The description of the tool.
@@ -161,6 +165,9 @@ class ToolsClient:
161
165
  default_requires_approval : typing.Optional[bool]
162
166
  Whether or not to require approval before executing this tool.
163
167
 
168
+ enable_parallel_execution : typing.Optional[bool]
169
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
170
+
164
171
  request_options : typing.Optional[RequestOptions]
165
172
  Request-specific configuration.
166
173
 
@@ -178,7 +185,7 @@ class ToolsClient:
178
185
  token="YOUR_TOKEN",
179
186
  )
180
187
  client.tools.modify(
181
- tool_id="tool_id",
188
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
182
189
  )
183
190
  """
184
191
  _response = self._raw_client.modify(
@@ -194,6 +201,7 @@ class ToolsClient:
194
201
  npm_requirements=npm_requirements,
195
202
  metadata=metadata,
196
203
  default_requires_approval=default_requires_approval,
204
+ enable_parallel_execution=enable_parallel_execution,
197
205
  request_options=request_options,
198
206
  )
199
207
  return _response.data
@@ -389,6 +397,7 @@ class ToolsClient:
389
397
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
390
398
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
391
399
  default_requires_approval: typing.Optional[bool] = OMIT,
400
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
392
401
  request_options: typing.Optional[RequestOptions] = None,
393
402
  ) -> Tool:
394
403
  """
@@ -426,6 +435,9 @@ class ToolsClient:
426
435
  default_requires_approval : typing.Optional[bool]
427
436
  Whether or not to require approval before executing this tool.
428
437
 
438
+ enable_parallel_execution : typing.Optional[bool]
439
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
440
+
429
441
  request_options : typing.Optional[RequestOptions]
430
442
  Request-specific configuration.
431
443
 
@@ -457,6 +469,7 @@ class ToolsClient:
457
469
  pip_requirements=pip_requirements,
458
470
  npm_requirements=npm_requirements,
459
471
  default_requires_approval=default_requires_approval,
472
+ enable_parallel_execution=enable_parallel_execution,
460
473
  request_options=request_options,
461
474
  )
462
475
  return _response.data
@@ -474,6 +487,7 @@ class ToolsClient:
474
487
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
475
488
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
476
489
  default_requires_approval: typing.Optional[bool] = OMIT,
490
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
477
491
  request_options: typing.Optional[RequestOptions] = None,
478
492
  ) -> Tool:
479
493
  """
@@ -511,6 +525,9 @@ class ToolsClient:
511
525
  default_requires_approval : typing.Optional[bool]
512
526
  Whether or not to require approval before executing this tool.
513
527
 
528
+ enable_parallel_execution : typing.Optional[bool]
529
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
530
+
514
531
  request_options : typing.Optional[RequestOptions]
515
532
  Request-specific configuration.
516
533
 
@@ -542,6 +559,7 @@ class ToolsClient:
542
559
  pip_requirements=pip_requirements,
543
560
  npm_requirements=npm_requirements,
544
561
  default_requires_approval=default_requires_approval,
562
+ enable_parallel_execution=enable_parallel_execution,
545
563
  request_options=request_options,
546
564
  )
547
565
  return _response.data
@@ -965,6 +983,7 @@ class AsyncToolsClient:
965
983
  Parameters
966
984
  ----------
967
985
  tool_id : str
986
+ The ID of the tool in the format 'tool-<uuid4>'
968
987
 
969
988
  request_options : typing.Optional[RequestOptions]
970
989
  Request-specific configuration.
@@ -988,7 +1007,7 @@ class AsyncToolsClient:
988
1007
 
989
1008
  async def main() -> None:
990
1009
  await client.tools.retrieve(
991
- tool_id="tool_id",
1010
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
992
1011
  )
993
1012
 
994
1013
 
@@ -1006,6 +1025,7 @@ class AsyncToolsClient:
1006
1025
  Parameters
1007
1026
  ----------
1008
1027
  tool_id : str
1028
+ The ID of the tool in the format 'tool-<uuid4>'
1009
1029
 
1010
1030
  request_options : typing.Optional[RequestOptions]
1011
1031
  Request-specific configuration.
@@ -1029,7 +1049,7 @@ class AsyncToolsClient:
1029
1049
 
1030
1050
  async def main() -> None:
1031
1051
  await client.tools.delete(
1032
- tool_id="tool_id",
1052
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
1033
1053
  )
1034
1054
 
1035
1055
 
@@ -1053,6 +1073,7 @@ class AsyncToolsClient:
1053
1073
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1054
1074
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1055
1075
  default_requires_approval: typing.Optional[bool] = OMIT,
1076
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1056
1077
  request_options: typing.Optional[RequestOptions] = None,
1057
1078
  ) -> Tool:
1058
1079
  """
@@ -1061,6 +1082,7 @@ class AsyncToolsClient:
1061
1082
  Parameters
1062
1083
  ----------
1063
1084
  tool_id : str
1085
+ The ID of the tool in the format 'tool-<uuid4>'
1064
1086
 
1065
1087
  description : typing.Optional[str]
1066
1088
  The description of the tool.
@@ -1095,6 +1117,9 @@ class AsyncToolsClient:
1095
1117
  default_requires_approval : typing.Optional[bool]
1096
1118
  Whether or not to require approval before executing this tool.
1097
1119
 
1120
+ enable_parallel_execution : typing.Optional[bool]
1121
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1122
+
1098
1123
  request_options : typing.Optional[RequestOptions]
1099
1124
  Request-specific configuration.
1100
1125
 
@@ -1117,7 +1142,7 @@ class AsyncToolsClient:
1117
1142
 
1118
1143
  async def main() -> None:
1119
1144
  await client.tools.modify(
1120
- tool_id="tool_id",
1145
+ tool_id="tool-123e4567-e89b-42d3-8456-426614174000",
1121
1146
  )
1122
1147
 
1123
1148
 
@@ -1136,6 +1161,7 @@ class AsyncToolsClient:
1136
1161
  npm_requirements=npm_requirements,
1137
1162
  metadata=metadata,
1138
1163
  default_requires_approval=default_requires_approval,
1164
+ enable_parallel_execution=enable_parallel_execution,
1139
1165
  request_options=request_options,
1140
1166
  )
1141
1167
  return _response.data
@@ -1347,6 +1373,7 @@ class AsyncToolsClient:
1347
1373
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
1348
1374
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1349
1375
  default_requires_approval: typing.Optional[bool] = OMIT,
1376
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1350
1377
  request_options: typing.Optional[RequestOptions] = None,
1351
1378
  ) -> Tool:
1352
1379
  """
@@ -1384,6 +1411,9 @@ class AsyncToolsClient:
1384
1411
  default_requires_approval : typing.Optional[bool]
1385
1412
  Whether or not to require approval before executing this tool.
1386
1413
 
1414
+ enable_parallel_execution : typing.Optional[bool]
1415
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1416
+
1387
1417
  request_options : typing.Optional[RequestOptions]
1388
1418
  Request-specific configuration.
1389
1419
 
@@ -1423,6 +1453,7 @@ class AsyncToolsClient:
1423
1453
  pip_requirements=pip_requirements,
1424
1454
  npm_requirements=npm_requirements,
1425
1455
  default_requires_approval=default_requires_approval,
1456
+ enable_parallel_execution=enable_parallel_execution,
1426
1457
  request_options=request_options,
1427
1458
  )
1428
1459
  return _response.data
@@ -1440,6 +1471,7 @@ class AsyncToolsClient:
1440
1471
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
1441
1472
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1442
1473
  default_requires_approval: typing.Optional[bool] = OMIT,
1474
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1443
1475
  request_options: typing.Optional[RequestOptions] = None,
1444
1476
  ) -> Tool:
1445
1477
  """
@@ -1477,6 +1509,9 @@ class AsyncToolsClient:
1477
1509
  default_requires_approval : typing.Optional[bool]
1478
1510
  Whether or not to require approval before executing this tool.
1479
1511
 
1512
+ enable_parallel_execution : typing.Optional[bool]
1513
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1514
+
1480
1515
  request_options : typing.Optional[RequestOptions]
1481
1516
  Request-specific configuration.
1482
1517
 
@@ -1516,6 +1551,7 @@ class AsyncToolsClient:
1516
1551
  pip_requirements=pip_requirements,
1517
1552
  npm_requirements=npm_requirements,
1518
1553
  default_requires_approval=default_requires_approval,
1554
+ enable_parallel_execution=enable_parallel_execution,
1519
1555
  request_options=request_options,
1520
1556
  )
1521
1557
  return _response.data
@@ -46,6 +46,7 @@ class RawToolsClient:
46
46
  Parameters
47
47
  ----------
48
48
  tool_id : str
49
+ The ID of the tool in the format 'tool-<uuid4>'
49
50
 
50
51
  request_options : typing.Optional[RequestOptions]
51
52
  Request-specific configuration.
@@ -95,6 +96,7 @@ class RawToolsClient:
95
96
  Parameters
96
97
  ----------
97
98
  tool_id : str
99
+ The ID of the tool in the format 'tool-<uuid4>'
98
100
 
99
101
  request_options : typing.Optional[RequestOptions]
100
102
  Request-specific configuration.
@@ -152,6 +154,7 @@ class RawToolsClient:
152
154
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
153
155
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
154
156
  default_requires_approval: typing.Optional[bool] = OMIT,
157
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
155
158
  request_options: typing.Optional[RequestOptions] = None,
156
159
  ) -> HttpResponse[Tool]:
157
160
  """
@@ -160,6 +163,7 @@ class RawToolsClient:
160
163
  Parameters
161
164
  ----------
162
165
  tool_id : str
166
+ The ID of the tool in the format 'tool-<uuid4>'
163
167
 
164
168
  description : typing.Optional[str]
165
169
  The description of the tool.
@@ -194,6 +198,9 @@ class RawToolsClient:
194
198
  default_requires_approval : typing.Optional[bool]
195
199
  Whether or not to require approval before executing this tool.
196
200
 
201
+ enable_parallel_execution : typing.Optional[bool]
202
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
203
+
197
204
  request_options : typing.Optional[RequestOptions]
198
205
  Request-specific configuration.
199
206
 
@@ -221,6 +228,7 @@ class RawToolsClient:
221
228
  ),
222
229
  "metadata_": metadata,
223
230
  "default_requires_approval": default_requires_approval,
231
+ "enable_parallel_execution": enable_parallel_execution,
224
232
  },
225
233
  headers={
226
234
  "content-type": "application/json",
@@ -468,6 +476,7 @@ class RawToolsClient:
468
476
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
469
477
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
470
478
  default_requires_approval: typing.Optional[bool] = OMIT,
479
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
471
480
  request_options: typing.Optional[RequestOptions] = None,
472
481
  ) -> HttpResponse[Tool]:
473
482
  """
@@ -505,6 +514,9 @@ class RawToolsClient:
505
514
  default_requires_approval : typing.Optional[bool]
506
515
  Whether or not to require approval before executing this tool.
507
516
 
517
+ enable_parallel_execution : typing.Optional[bool]
518
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
519
+
508
520
  request_options : typing.Optional[RequestOptions]
509
521
  Request-specific configuration.
510
522
 
@@ -531,6 +543,7 @@ class RawToolsClient:
531
543
  object_=npm_requirements, annotation=typing.Sequence[NpmRequirement], direction="write"
532
544
  ),
533
545
  "default_requires_approval": default_requires_approval,
546
+ "enable_parallel_execution": enable_parallel_execution,
534
547
  },
535
548
  headers={
536
549
  "content-type": "application/json",
@@ -577,6 +590,7 @@ class RawToolsClient:
577
590
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
578
591
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
579
592
  default_requires_approval: typing.Optional[bool] = OMIT,
593
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
580
594
  request_options: typing.Optional[RequestOptions] = None,
581
595
  ) -> HttpResponse[Tool]:
582
596
  """
@@ -614,6 +628,9 @@ class RawToolsClient:
614
628
  default_requires_approval : typing.Optional[bool]
615
629
  Whether or not to require approval before executing this tool.
616
630
 
631
+ enable_parallel_execution : typing.Optional[bool]
632
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
633
+
617
634
  request_options : typing.Optional[RequestOptions]
618
635
  Request-specific configuration.
619
636
 
@@ -640,6 +657,7 @@ class RawToolsClient:
640
657
  object_=npm_requirements, annotation=typing.Sequence[NpmRequirement], direction="write"
641
658
  ),
642
659
  "default_requires_approval": default_requires_approval,
660
+ "enable_parallel_execution": enable_parallel_execution,
643
661
  },
644
662
  headers={
645
663
  "content-type": "application/json",
@@ -1287,6 +1305,7 @@ class AsyncRawToolsClient:
1287
1305
  Parameters
1288
1306
  ----------
1289
1307
  tool_id : str
1308
+ The ID of the tool in the format 'tool-<uuid4>'
1290
1309
 
1291
1310
  request_options : typing.Optional[RequestOptions]
1292
1311
  Request-specific configuration.
@@ -1336,6 +1355,7 @@ class AsyncRawToolsClient:
1336
1355
  Parameters
1337
1356
  ----------
1338
1357
  tool_id : str
1358
+ The ID of the tool in the format 'tool-<uuid4>'
1339
1359
 
1340
1360
  request_options : typing.Optional[RequestOptions]
1341
1361
  Request-specific configuration.
@@ -1393,6 +1413,7 @@ class AsyncRawToolsClient:
1393
1413
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1394
1414
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1395
1415
  default_requires_approval: typing.Optional[bool] = OMIT,
1416
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1396
1417
  request_options: typing.Optional[RequestOptions] = None,
1397
1418
  ) -> AsyncHttpResponse[Tool]:
1398
1419
  """
@@ -1401,6 +1422,7 @@ class AsyncRawToolsClient:
1401
1422
  Parameters
1402
1423
  ----------
1403
1424
  tool_id : str
1425
+ The ID of the tool in the format 'tool-<uuid4>'
1404
1426
 
1405
1427
  description : typing.Optional[str]
1406
1428
  The description of the tool.
@@ -1435,6 +1457,9 @@ class AsyncRawToolsClient:
1435
1457
  default_requires_approval : typing.Optional[bool]
1436
1458
  Whether or not to require approval before executing this tool.
1437
1459
 
1460
+ enable_parallel_execution : typing.Optional[bool]
1461
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1462
+
1438
1463
  request_options : typing.Optional[RequestOptions]
1439
1464
  Request-specific configuration.
1440
1465
 
@@ -1462,6 +1487,7 @@ class AsyncRawToolsClient:
1462
1487
  ),
1463
1488
  "metadata_": metadata,
1464
1489
  "default_requires_approval": default_requires_approval,
1490
+ "enable_parallel_execution": enable_parallel_execution,
1465
1491
  },
1466
1492
  headers={
1467
1493
  "content-type": "application/json",
@@ -1709,6 +1735,7 @@ class AsyncRawToolsClient:
1709
1735
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
1710
1736
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1711
1737
  default_requires_approval: typing.Optional[bool] = OMIT,
1738
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1712
1739
  request_options: typing.Optional[RequestOptions] = None,
1713
1740
  ) -> AsyncHttpResponse[Tool]:
1714
1741
  """
@@ -1746,6 +1773,9 @@ class AsyncRawToolsClient:
1746
1773
  default_requires_approval : typing.Optional[bool]
1747
1774
  Whether or not to require approval before executing this tool.
1748
1775
 
1776
+ enable_parallel_execution : typing.Optional[bool]
1777
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1778
+
1749
1779
  request_options : typing.Optional[RequestOptions]
1750
1780
  Request-specific configuration.
1751
1781
 
@@ -1772,6 +1802,7 @@ class AsyncRawToolsClient:
1772
1802
  object_=npm_requirements, annotation=typing.Sequence[NpmRequirement], direction="write"
1773
1803
  ),
1774
1804
  "default_requires_approval": default_requires_approval,
1805
+ "enable_parallel_execution": enable_parallel_execution,
1775
1806
  },
1776
1807
  headers={
1777
1808
  "content-type": "application/json",
@@ -1818,6 +1849,7 @@ class AsyncRawToolsClient:
1818
1849
  pip_requirements: typing.Optional[typing.Sequence[PipRequirement]] = OMIT,
1819
1850
  npm_requirements: typing.Optional[typing.Sequence[NpmRequirement]] = OMIT,
1820
1851
  default_requires_approval: typing.Optional[bool] = OMIT,
1852
+ enable_parallel_execution: typing.Optional[bool] = OMIT,
1821
1853
  request_options: typing.Optional[RequestOptions] = None,
1822
1854
  ) -> AsyncHttpResponse[Tool]:
1823
1855
  """
@@ -1855,6 +1887,9 @@ class AsyncRawToolsClient:
1855
1887
  default_requires_approval : typing.Optional[bool]
1856
1888
  Whether or not to require approval before executing this tool.
1857
1889
 
1890
+ enable_parallel_execution : typing.Optional[bool]
1891
+ If set to True, then this tool will potentially be executed concurrently with other tools. Default False.
1892
+
1858
1893
  request_options : typing.Optional[RequestOptions]
1859
1894
  Request-specific configuration.
1860
1895
 
@@ -1881,6 +1916,7 @@ class AsyncRawToolsClient:
1881
1916
  object_=npm_requirements, annotation=typing.Sequence[NpmRequirement], direction="write"
1882
1917
  ),
1883
1918
  "default_requires_approval": default_requires_approval,
1919
+ "enable_parallel_execution": enable_parallel_execution,
1884
1920
  },
1885
1921
  headers={
1886
1922
  "content-type": "application/json",