letta-client 0.1.303__py3-none-any.whl → 0.1.304__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.
- letta_client/core/client_wrapper.py +2 -2
- letta_client/tools/client.py +154 -10
- letta_client/tools/raw_client.py +136 -8
- {letta_client-0.1.303.dist-info → letta_client-0.1.304.dist-info}/METADATA +1 -1
- {letta_client-0.1.303.dist-info → letta_client-0.1.304.dist-info}/RECORD +6 -6
- {letta_client-0.1.303.dist-info → letta_client-0.1.304.dist-info}/WHEEL +0 -0
|
@@ -24,10 +24,10 @@ class BaseClientWrapper:
|
|
|
24
24
|
|
|
25
25
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
26
26
|
headers: typing.Dict[str, str] = {
|
|
27
|
-
"User-Agent": "letta-client/0.1.
|
|
27
|
+
"User-Agent": "letta-client/0.1.304",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.304",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
letta_client/tools/client.py
CHANGED
|
@@ -202,7 +202,14 @@ class ToolsClient:
|
|
|
202
202
|
def count(
|
|
203
203
|
self,
|
|
204
204
|
*,
|
|
205
|
-
|
|
205
|
+
name: typing.Optional[str] = None,
|
|
206
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
207
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
208
|
+
search: typing.Optional[str] = None,
|
|
209
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
210
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
211
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
212
|
+
exclude_letta_tools: typing.Optional[bool] = None,
|
|
206
213
|
request_options: typing.Optional[RequestOptions] = None,
|
|
207
214
|
) -> int:
|
|
208
215
|
"""
|
|
@@ -210,8 +217,28 @@ class ToolsClient:
|
|
|
210
217
|
|
|
211
218
|
Parameters
|
|
212
219
|
----------
|
|
213
|
-
|
|
214
|
-
|
|
220
|
+
name : typing.Optional[str]
|
|
221
|
+
|
|
222
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
223
|
+
Filter by specific tool names
|
|
224
|
+
|
|
225
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
226
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
227
|
+
|
|
228
|
+
search : typing.Optional[str]
|
|
229
|
+
Search tool names (case-insensitive partial match)
|
|
230
|
+
|
|
231
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
232
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
233
|
+
|
|
234
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
235
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
236
|
+
|
|
237
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
238
|
+
Count only tools with tool_type starting with 'letta_'
|
|
239
|
+
|
|
240
|
+
exclude_letta_tools : typing.Optional[bool]
|
|
241
|
+
Exclude built-in Letta tools from the count
|
|
215
242
|
|
|
216
243
|
request_options : typing.Optional[RequestOptions]
|
|
217
244
|
Request-specific configuration.
|
|
@@ -231,7 +258,17 @@ class ToolsClient:
|
|
|
231
258
|
)
|
|
232
259
|
client.tools.count()
|
|
233
260
|
"""
|
|
234
|
-
_response = self._raw_client.count(
|
|
261
|
+
_response = self._raw_client.count(
|
|
262
|
+
name=name,
|
|
263
|
+
names=names,
|
|
264
|
+
tool_ids=tool_ids,
|
|
265
|
+
search=search,
|
|
266
|
+
tool_types=tool_types,
|
|
267
|
+
exclude_tool_types=exclude_tool_types,
|
|
268
|
+
return_only_letta_tools=return_only_letta_tools,
|
|
269
|
+
exclude_letta_tools=exclude_letta_tools,
|
|
270
|
+
request_options=request_options,
|
|
271
|
+
)
|
|
235
272
|
return _response.data
|
|
236
273
|
|
|
237
274
|
def list(
|
|
@@ -240,6 +277,12 @@ class ToolsClient:
|
|
|
240
277
|
after: typing.Optional[str] = None,
|
|
241
278
|
limit: typing.Optional[int] = None,
|
|
242
279
|
name: typing.Optional[str] = None,
|
|
280
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
281
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
282
|
+
search: typing.Optional[str] = None,
|
|
283
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
284
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
285
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
243
286
|
request_options: typing.Optional[RequestOptions] = None,
|
|
244
287
|
) -> typing.List[Tool]:
|
|
245
288
|
"""
|
|
@@ -253,6 +296,24 @@ class ToolsClient:
|
|
|
253
296
|
|
|
254
297
|
name : typing.Optional[str]
|
|
255
298
|
|
|
299
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
300
|
+
Filter by specific tool names
|
|
301
|
+
|
|
302
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
303
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
304
|
+
|
|
305
|
+
search : typing.Optional[str]
|
|
306
|
+
Search tool names (case-insensitive partial match)
|
|
307
|
+
|
|
308
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
309
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
310
|
+
|
|
311
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
312
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
313
|
+
|
|
314
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
315
|
+
Return only tools with tool_type starting with 'letta_'
|
|
316
|
+
|
|
256
317
|
request_options : typing.Optional[RequestOptions]
|
|
257
318
|
Request-specific configuration.
|
|
258
319
|
|
|
@@ -271,7 +332,18 @@ class ToolsClient:
|
|
|
271
332
|
)
|
|
272
333
|
client.tools.list()
|
|
273
334
|
"""
|
|
274
|
-
_response = self._raw_client.list(
|
|
335
|
+
_response = self._raw_client.list(
|
|
336
|
+
after=after,
|
|
337
|
+
limit=limit,
|
|
338
|
+
name=name,
|
|
339
|
+
names=names,
|
|
340
|
+
tool_ids=tool_ids,
|
|
341
|
+
search=search,
|
|
342
|
+
tool_types=tool_types,
|
|
343
|
+
exclude_tool_types=exclude_tool_types,
|
|
344
|
+
return_only_letta_tools=return_only_letta_tools,
|
|
345
|
+
request_options=request_options,
|
|
346
|
+
)
|
|
275
347
|
return _response.data
|
|
276
348
|
|
|
277
349
|
def create(
|
|
@@ -1140,7 +1212,14 @@ class AsyncToolsClient:
|
|
|
1140
1212
|
async def count(
|
|
1141
1213
|
self,
|
|
1142
1214
|
*,
|
|
1143
|
-
|
|
1215
|
+
name: typing.Optional[str] = None,
|
|
1216
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1217
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1218
|
+
search: typing.Optional[str] = None,
|
|
1219
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1220
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1221
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
1222
|
+
exclude_letta_tools: typing.Optional[bool] = None,
|
|
1144
1223
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1145
1224
|
) -> int:
|
|
1146
1225
|
"""
|
|
@@ -1148,8 +1227,28 @@ class AsyncToolsClient:
|
|
|
1148
1227
|
|
|
1149
1228
|
Parameters
|
|
1150
1229
|
----------
|
|
1151
|
-
|
|
1152
|
-
|
|
1230
|
+
name : typing.Optional[str]
|
|
1231
|
+
|
|
1232
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1233
|
+
Filter by specific tool names
|
|
1234
|
+
|
|
1235
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1236
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
1237
|
+
|
|
1238
|
+
search : typing.Optional[str]
|
|
1239
|
+
Search tool names (case-insensitive partial match)
|
|
1240
|
+
|
|
1241
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1242
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
1243
|
+
|
|
1244
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1245
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
1246
|
+
|
|
1247
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
1248
|
+
Count only tools with tool_type starting with 'letta_'
|
|
1249
|
+
|
|
1250
|
+
exclude_letta_tools : typing.Optional[bool]
|
|
1251
|
+
Exclude built-in Letta tools from the count
|
|
1153
1252
|
|
|
1154
1253
|
request_options : typing.Optional[RequestOptions]
|
|
1155
1254
|
Request-specific configuration.
|
|
@@ -1177,7 +1276,17 @@ class AsyncToolsClient:
|
|
|
1177
1276
|
|
|
1178
1277
|
asyncio.run(main())
|
|
1179
1278
|
"""
|
|
1180
|
-
_response = await self._raw_client.count(
|
|
1279
|
+
_response = await self._raw_client.count(
|
|
1280
|
+
name=name,
|
|
1281
|
+
names=names,
|
|
1282
|
+
tool_ids=tool_ids,
|
|
1283
|
+
search=search,
|
|
1284
|
+
tool_types=tool_types,
|
|
1285
|
+
exclude_tool_types=exclude_tool_types,
|
|
1286
|
+
return_only_letta_tools=return_only_letta_tools,
|
|
1287
|
+
exclude_letta_tools=exclude_letta_tools,
|
|
1288
|
+
request_options=request_options,
|
|
1289
|
+
)
|
|
1181
1290
|
return _response.data
|
|
1182
1291
|
|
|
1183
1292
|
async def list(
|
|
@@ -1186,6 +1295,12 @@ class AsyncToolsClient:
|
|
|
1186
1295
|
after: typing.Optional[str] = None,
|
|
1187
1296
|
limit: typing.Optional[int] = None,
|
|
1188
1297
|
name: typing.Optional[str] = None,
|
|
1298
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1299
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1300
|
+
search: typing.Optional[str] = None,
|
|
1301
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1302
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1303
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
1189
1304
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1190
1305
|
) -> typing.List[Tool]:
|
|
1191
1306
|
"""
|
|
@@ -1199,6 +1314,24 @@ class AsyncToolsClient:
|
|
|
1199
1314
|
|
|
1200
1315
|
name : typing.Optional[str]
|
|
1201
1316
|
|
|
1317
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1318
|
+
Filter by specific tool names
|
|
1319
|
+
|
|
1320
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1321
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
1322
|
+
|
|
1323
|
+
search : typing.Optional[str]
|
|
1324
|
+
Search tool names (case-insensitive partial match)
|
|
1325
|
+
|
|
1326
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1327
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
1328
|
+
|
|
1329
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1330
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
1331
|
+
|
|
1332
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
1333
|
+
Return only tools with tool_type starting with 'letta_'
|
|
1334
|
+
|
|
1202
1335
|
request_options : typing.Optional[RequestOptions]
|
|
1203
1336
|
Request-specific configuration.
|
|
1204
1337
|
|
|
@@ -1225,7 +1358,18 @@ class AsyncToolsClient:
|
|
|
1225
1358
|
|
|
1226
1359
|
asyncio.run(main())
|
|
1227
1360
|
"""
|
|
1228
|
-
_response = await self._raw_client.list(
|
|
1361
|
+
_response = await self._raw_client.list(
|
|
1362
|
+
after=after,
|
|
1363
|
+
limit=limit,
|
|
1364
|
+
name=name,
|
|
1365
|
+
names=names,
|
|
1366
|
+
tool_ids=tool_ids,
|
|
1367
|
+
search=search,
|
|
1368
|
+
tool_types=tool_types,
|
|
1369
|
+
exclude_tool_types=exclude_tool_types,
|
|
1370
|
+
return_only_letta_tools=return_only_letta_tools,
|
|
1371
|
+
request_options=request_options,
|
|
1372
|
+
)
|
|
1229
1373
|
return _response.data
|
|
1230
1374
|
|
|
1231
1375
|
async def create(
|
letta_client/tools/raw_client.py
CHANGED
|
@@ -258,7 +258,14 @@ class RawToolsClient:
|
|
|
258
258
|
def count(
|
|
259
259
|
self,
|
|
260
260
|
*,
|
|
261
|
-
|
|
261
|
+
name: typing.Optional[str] = None,
|
|
262
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
263
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
264
|
+
search: typing.Optional[str] = None,
|
|
265
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
266
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
267
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
268
|
+
exclude_letta_tools: typing.Optional[bool] = None,
|
|
262
269
|
request_options: typing.Optional[RequestOptions] = None,
|
|
263
270
|
) -> HttpResponse[int]:
|
|
264
271
|
"""
|
|
@@ -266,8 +273,28 @@ class RawToolsClient:
|
|
|
266
273
|
|
|
267
274
|
Parameters
|
|
268
275
|
----------
|
|
269
|
-
|
|
270
|
-
|
|
276
|
+
name : typing.Optional[str]
|
|
277
|
+
|
|
278
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
279
|
+
Filter by specific tool names
|
|
280
|
+
|
|
281
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
282
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
283
|
+
|
|
284
|
+
search : typing.Optional[str]
|
|
285
|
+
Search tool names (case-insensitive partial match)
|
|
286
|
+
|
|
287
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
288
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
289
|
+
|
|
290
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
291
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
292
|
+
|
|
293
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
294
|
+
Count only tools with tool_type starting with 'letta_'
|
|
295
|
+
|
|
296
|
+
exclude_letta_tools : typing.Optional[bool]
|
|
297
|
+
Exclude built-in Letta tools from the count
|
|
271
298
|
|
|
272
299
|
request_options : typing.Optional[RequestOptions]
|
|
273
300
|
Request-specific configuration.
|
|
@@ -281,7 +308,14 @@ class RawToolsClient:
|
|
|
281
308
|
"v1/tools/count",
|
|
282
309
|
method="GET",
|
|
283
310
|
params={
|
|
284
|
-
"
|
|
311
|
+
"name": name,
|
|
312
|
+
"names": names,
|
|
313
|
+
"tool_ids": tool_ids,
|
|
314
|
+
"search": search,
|
|
315
|
+
"tool_types": tool_types,
|
|
316
|
+
"exclude_tool_types": exclude_tool_types,
|
|
317
|
+
"return_only_letta_tools": return_only_letta_tools,
|
|
318
|
+
"exclude_letta_tools": exclude_letta_tools,
|
|
285
319
|
},
|
|
286
320
|
request_options=request_options,
|
|
287
321
|
)
|
|
@@ -317,6 +351,12 @@ class RawToolsClient:
|
|
|
317
351
|
after: typing.Optional[str] = None,
|
|
318
352
|
limit: typing.Optional[int] = None,
|
|
319
353
|
name: typing.Optional[str] = None,
|
|
354
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
355
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
356
|
+
search: typing.Optional[str] = None,
|
|
357
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
358
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
359
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
320
360
|
request_options: typing.Optional[RequestOptions] = None,
|
|
321
361
|
) -> HttpResponse[typing.List[Tool]]:
|
|
322
362
|
"""
|
|
@@ -330,6 +370,24 @@ class RawToolsClient:
|
|
|
330
370
|
|
|
331
371
|
name : typing.Optional[str]
|
|
332
372
|
|
|
373
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
374
|
+
Filter by specific tool names
|
|
375
|
+
|
|
376
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
377
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
378
|
+
|
|
379
|
+
search : typing.Optional[str]
|
|
380
|
+
Search tool names (case-insensitive partial match)
|
|
381
|
+
|
|
382
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
383
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
384
|
+
|
|
385
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
386
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
387
|
+
|
|
388
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
389
|
+
Return only tools with tool_type starting with 'letta_'
|
|
390
|
+
|
|
333
391
|
request_options : typing.Optional[RequestOptions]
|
|
334
392
|
Request-specific configuration.
|
|
335
393
|
|
|
@@ -345,6 +403,12 @@ class RawToolsClient:
|
|
|
345
403
|
"after": after,
|
|
346
404
|
"limit": limit,
|
|
347
405
|
"name": name,
|
|
406
|
+
"names": names,
|
|
407
|
+
"tool_ids": tool_ids,
|
|
408
|
+
"search": search,
|
|
409
|
+
"tool_types": tool_types,
|
|
410
|
+
"exclude_tool_types": exclude_tool_types,
|
|
411
|
+
"return_only_letta_tools": return_only_letta_tools,
|
|
348
412
|
},
|
|
349
413
|
request_options=request_options,
|
|
350
414
|
)
|
|
@@ -1572,7 +1636,14 @@ class AsyncRawToolsClient:
|
|
|
1572
1636
|
async def count(
|
|
1573
1637
|
self,
|
|
1574
1638
|
*,
|
|
1575
|
-
|
|
1639
|
+
name: typing.Optional[str] = None,
|
|
1640
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1641
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1642
|
+
search: typing.Optional[str] = None,
|
|
1643
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1644
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1645
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
1646
|
+
exclude_letta_tools: typing.Optional[bool] = None,
|
|
1576
1647
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1577
1648
|
) -> AsyncHttpResponse[int]:
|
|
1578
1649
|
"""
|
|
@@ -1580,8 +1651,28 @@ class AsyncRawToolsClient:
|
|
|
1580
1651
|
|
|
1581
1652
|
Parameters
|
|
1582
1653
|
----------
|
|
1583
|
-
|
|
1584
|
-
|
|
1654
|
+
name : typing.Optional[str]
|
|
1655
|
+
|
|
1656
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1657
|
+
Filter by specific tool names
|
|
1658
|
+
|
|
1659
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1660
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
1661
|
+
|
|
1662
|
+
search : typing.Optional[str]
|
|
1663
|
+
Search tool names (case-insensitive partial match)
|
|
1664
|
+
|
|
1665
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1666
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
1667
|
+
|
|
1668
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1669
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
1670
|
+
|
|
1671
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
1672
|
+
Count only tools with tool_type starting with 'letta_'
|
|
1673
|
+
|
|
1674
|
+
exclude_letta_tools : typing.Optional[bool]
|
|
1675
|
+
Exclude built-in Letta tools from the count
|
|
1585
1676
|
|
|
1586
1677
|
request_options : typing.Optional[RequestOptions]
|
|
1587
1678
|
Request-specific configuration.
|
|
@@ -1595,7 +1686,14 @@ class AsyncRawToolsClient:
|
|
|
1595
1686
|
"v1/tools/count",
|
|
1596
1687
|
method="GET",
|
|
1597
1688
|
params={
|
|
1598
|
-
"
|
|
1689
|
+
"name": name,
|
|
1690
|
+
"names": names,
|
|
1691
|
+
"tool_ids": tool_ids,
|
|
1692
|
+
"search": search,
|
|
1693
|
+
"tool_types": tool_types,
|
|
1694
|
+
"exclude_tool_types": exclude_tool_types,
|
|
1695
|
+
"return_only_letta_tools": return_only_letta_tools,
|
|
1696
|
+
"exclude_letta_tools": exclude_letta_tools,
|
|
1599
1697
|
},
|
|
1600
1698
|
request_options=request_options,
|
|
1601
1699
|
)
|
|
@@ -1631,6 +1729,12 @@ class AsyncRawToolsClient:
|
|
|
1631
1729
|
after: typing.Optional[str] = None,
|
|
1632
1730
|
limit: typing.Optional[int] = None,
|
|
1633
1731
|
name: typing.Optional[str] = None,
|
|
1732
|
+
names: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1733
|
+
tool_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1734
|
+
search: typing.Optional[str] = None,
|
|
1735
|
+
tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1736
|
+
exclude_tool_types: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1737
|
+
return_only_letta_tools: typing.Optional[bool] = None,
|
|
1634
1738
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1635
1739
|
) -> AsyncHttpResponse[typing.List[Tool]]:
|
|
1636
1740
|
"""
|
|
@@ -1644,6 +1748,24 @@ class AsyncRawToolsClient:
|
|
|
1644
1748
|
|
|
1645
1749
|
name : typing.Optional[str]
|
|
1646
1750
|
|
|
1751
|
+
names : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1752
|
+
Filter by specific tool names
|
|
1753
|
+
|
|
1754
|
+
tool_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1755
|
+
Filter by specific tool IDs - accepts repeated params or comma-separated values
|
|
1756
|
+
|
|
1757
|
+
search : typing.Optional[str]
|
|
1758
|
+
Search tool names (case-insensitive partial match)
|
|
1759
|
+
|
|
1760
|
+
tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1761
|
+
Filter by tool type(s) - accepts repeated params or comma-separated values
|
|
1762
|
+
|
|
1763
|
+
exclude_tool_types : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1764
|
+
Tool type(s) to exclude - accepts repeated params or comma-separated values
|
|
1765
|
+
|
|
1766
|
+
return_only_letta_tools : typing.Optional[bool]
|
|
1767
|
+
Return only tools with tool_type starting with 'letta_'
|
|
1768
|
+
|
|
1647
1769
|
request_options : typing.Optional[RequestOptions]
|
|
1648
1770
|
Request-specific configuration.
|
|
1649
1771
|
|
|
@@ -1659,6 +1781,12 @@ class AsyncRawToolsClient:
|
|
|
1659
1781
|
"after": after,
|
|
1660
1782
|
"limit": limit,
|
|
1661
1783
|
"name": name,
|
|
1784
|
+
"names": names,
|
|
1785
|
+
"tool_ids": tool_ids,
|
|
1786
|
+
"search": search,
|
|
1787
|
+
"tool_types": tool_types,
|
|
1788
|
+
"exclude_tool_types": exclude_tool_types,
|
|
1789
|
+
"return_only_letta_tools": return_only_letta_tools,
|
|
1662
1790
|
},
|
|
1663
1791
|
request_options=request_options,
|
|
1664
1792
|
)
|
|
@@ -90,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
90
90
|
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,sha256=kNHfEWFl7u71Pu8NPqutod0a2NXfvq8il05Hqm0iBB4,284
|
|
91
91
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
92
92
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
93
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
93
|
+
letta_client/core/client_wrapper.py,sha256=WhX9KGjXEmFhZX6-I6OcnqvaNFO9Uklo3m0fG9NSxqw,2776
|
|
94
94
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
95
95
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
96
96
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -242,8 +242,8 @@ letta_client/templates/types/templates_list_template_versions_response_versions_
|
|
|
242
242
|
letta_client/templates/types/templates_rename_template_response.py,sha256=iH8paSt5k0jzqTDezOw2PJbgbDJIqVkA4zWnsa64JX4,583
|
|
243
243
|
letta_client/templates/types/templates_save_template_version_response.py,sha256=gmRwrpCk5UM1TH2Sru4iX_ybTAMftVsHI0DOVGxdFrw,1087
|
|
244
244
|
letta_client/tools/__init__.py,sha256=ZR4ev9ZmyWZl9iJPXK_FRk79YjgIytkA_2TlNS1PaQI,725
|
|
245
|
-
letta_client/tools/client.py,sha256=
|
|
246
|
-
letta_client/tools/raw_client.py,sha256=
|
|
245
|
+
letta_client/tools/client.py,sha256=2nJTJaRni5ShBaXZ4CztVSBMF0kdhe6QsURFDlFQvNs,67267
|
|
246
|
+
letta_client/tools/raw_client.py,sha256=gO2SEYDK3TPXR4wosGtFl-fzt5McTcESN6fO9buLciQ,113641
|
|
247
247
|
letta_client/tools/types/__init__.py,sha256=A6LN4Xvy2t4O23X5AihXMQwRs1iLnYrA6HOwFqBL720,1055
|
|
248
248
|
letta_client/tools/types/add_mcp_server_request.py,sha256=N9WDntHlIAxRQafdSnIydUNEEaOwnDISqGLMyHBrWr8,372
|
|
249
249
|
letta_client/tools/types/add_mcp_server_response_item.py,sha256=LryGwJSSLAX6crN_EctrRlJo0OCOUOK5mEGsgR4hONg,377
|
|
@@ -575,6 +575,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
575
575
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
576
576
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
577
577
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
578
|
-
letta_client-0.1.
|
|
579
|
-
letta_client-0.1.
|
|
580
|
-
letta_client-0.1.
|
|
578
|
+
letta_client-0.1.304.dist-info/METADATA,sha256=u91yljzgRloEkDWgxj-vG4cabsGJsuOALzZK0MJUK7M,5782
|
|
579
|
+
letta_client-0.1.304.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
580
|
+
letta_client-0.1.304.dist-info/RECORD,,
|
|
File without changes
|