Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 13:15 UTC
docs: remove search feature and common patterns section
- Remove search functionality from fetching-tools-and-toolkits.mdx (search is no longer a supported feature) - Remove Common patterns section from enable-and-disable-toolkits.mdx Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Jan 26, 2026 at 17:58 UTC
0daed9b0bd990f62a75402cd2163f8782ddb076e
2 files changed
+1
-93
docs/content/docs/toolkits/enable-and-disable-toolkits.mdx
-90
@@ -279,93 +279,3 @@ const session = await composio.create("user_123", {
279
</Tab>
280
</Tabs>
281
282
-## Common patterns
283
-
284
-### Read-only session for browsing
285
-
286
-Create a safe session that can only read data:
287
-
288
-<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
289
-<Tab value="Python">
290
-```python
291
-session = composio.create(
292
- user_id="user_123",
293
- tags=["readOnlyHint"]
294
-)
295
-```
296
-</Tab>
297
-<Tab value="TypeScript">
298
-```typescript
299
-import { Composio } from '@composio/core';
300
-const composio = new Composio({ apiKey: 'your_api_key' });
301
-// ---cut---
302
-const session = await composio.create("user_123", {
303
- tags: ["readOnlyHint"]
304
-});
305
-```
306
-</Tab>
307
-</Tabs>
308
-
309
-### Restricted toolkits with full tool access
310
-
311
-Limit to specific services but allow all their tools:
312
-
313
-<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
314
-<Tab value="Python">
315
-```python
316
-session = composio.create(
317
- user_id="user_123",
318
- toolkits=["github", "linear", "slack"]
319
-)
320
-```
321
-</Tab>
322
-<Tab value="TypeScript">
323
-```typescript
324
-import { Composio } from '@composio/core';
325
-const composio = new Composio({ apiKey: 'your_api_key' });
326
-// ---cut---
327
-const session = await composio.create("user_123", {
328
- toolkits: ["github", "linear", "slack"]
329
-});
330
-```
331
-</Tab>
332
-</Tabs>
333
-
334
-### Granular control per toolkit
335
-
336
-Different restrictions for different services:
337
-
338
-<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
339
-<Tab value="Python">
340
-```python
341
-session = composio.create(
342
- user_id="user_123",
343
- toolkits=["github", "gmail", "slack"],
344
- tools={
345
- # Full access to GitHub
346
- # Gmail: only send and fetch
347
- "gmail": ["GMAIL_SEND_EMAIL", "GMAIL_FETCH_EMAILS"],
348
- # Slack: everything except delete
349
- "slack": {"disable": ["SLACK_DELETE_MESSAGE"]}
350
- }
351
-)
352
-```
353
-</Tab>
354
-<Tab value="TypeScript">
355
-```typescript
356
-import { Composio } from '@composio/core';
357
-const composio = new Composio({ apiKey: 'your_api_key' });
358
-// ---cut---
359
-const session = await composio.create("user_123", {
360
- toolkits: ["github", "gmail", "slack"],
361
- tools: {
362
- // Full access to GitHub
363
- // Gmail: only send and fetch
364
- gmail: ["GMAIL_SEND_EMAIL", "GMAIL_FETCH_EMAILS"],
365
- // Slack: everything except delete
366
- slack: { disable: ["SLACK_DELETE_MESSAGE"] }
367
- }
368
-});
369
-```
370
-</Tab>
371
-</Tabs>
docs/content/docs/toolkits/fetching-tools-and-toolkits.mdx
+1
-3
@@ -38,13 +38,12 @@ for (const toolkit of result.items) {
38
</Tab>
39
</Tabs>
40
41
-You can filter to only connected toolkits or search by name:
41
+You can filter to only show connected toolkits:
42
43
<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
44
<Tab value="Python">
45
```python
46
connected = session.toolkits(is_connected=True) # Only connected
47
-searched = session.toolkits(search="github") # Search by name
47
```
48
</Tab>
49
<Tab value="TypeScript">
@@ -54,7 +53,6 @@ const composio = new Composio({ apiKey: 'your_api_key' });
53
const session = await composio.create("user_123");
54
// ---cut---
55
const connected = await session.toolkits({ isConnected: true }); // Only connected
57
-const searched = await session.toolkits({ search: "github" }); // Search by name
56
```
57
</Tab>
58
</Tabs>