Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: remove search feature and common patterns section
Sushmithamallesh0daed9b0bd99
diff --git a/docs/content/docs/toolkits/enable-and-disable-toolkits.mdx b/docs/content/docs/toolkits/enable-and-disable-toolkits.mdxindex 4e94198b6..7cdf08811 100644--- a/docs/content/docs/toolkits/enable-and-disable-toolkits.mdx+++ b/docs/content/docs/toolkits/enable-and-disable-toolkits.mdx@@ -279,93 +279,3 @@ const session = await composio.create("user_123", {</Tab></Tabs>-## Common patterns--### Read-only session for browsing--Create a safe session that can only read data:--<Tabs groupId="language" items={['Python', 'TypeScript']} persist>-<Tab value="Python">-```python-session = composio.create(- user_id="user_123",- tags=["readOnlyHint"]-)-```-</Tab>-<Tab value="TypeScript">-```typescript-import { Composio } from '@composio/core';-const composio = new Composio({ apiKey: 'your_api_key' });-// ---cut----const session = await composio.create("user_123", {- tags: ["readOnlyHint"]-});-```-</Tab>-</Tabs>--### Restricted toolkits with full tool access--Limit to specific services but allow all their tools:--<Tabs groupId="language" items={['Python', 'TypeScript']} persist>-<Tab value="Python">-```python-session = composio.create(- user_id="user_123",- toolkits=["github", "linear", "slack"]-)-```-</Tab>-<Tab value="TypeScript">-```typescript-import { Composio } from '@composio/core';-const composio = new Composio({ apiKey: 'your_api_key' });-// ---cut----const session = await composio.create("user_123", {- toolkits: ["github", "linear", "slack"]-});-```-</Tab>-</Tabs>--### Granular control per toolkit--Different restrictions for different services:--<Tabs groupId="language" items={['Python', 'TypeScript']} persist>-<Tab value="Python">-```python-session = composio.create(- user_id="user_123",- toolkits=["github", "gmail", "slack"],- tools={- # Full access to GitHub- # Gmail: only send and fetch- "gmail": ["GMAIL_SEND_EMAIL", "GMAIL_FETCH_EMAILS"],- # Slack: everything except delete- "slack": {"disable": ["SLACK_DELETE_MESSAGE"]}- }-)-```-</Tab>-<Tab value="TypeScript">-```typescript-import { Composio } from '@composio/core';-const composio = new Composio({ apiKey: 'your_api_key' });-// ---cut----const session = await composio.create("user_123", {- toolkits: ["github", "gmail", "slack"],- tools: {- // Full access to GitHub- // Gmail: only send and fetch- gmail: ["GMAIL_SEND_EMAIL", "GMAIL_FETCH_EMAILS"],- // Slack: everything except delete- slack: { disable: ["SLACK_DELETE_MESSAGE"] }- }-});-```-</Tab>-</Tabs>diff --git a/docs/content/docs/toolkits/fetching-tools-and-toolkits.mdx b/docs/content/docs/toolkits/fetching-tools-and-toolkits.mdxindex 59fa9726e..d9109b35d 100644--- a/docs/content/docs/toolkits/fetching-tools-and-toolkits.mdx+++ b/docs/content/docs/toolkits/fetching-tools-and-toolkits.mdx@@ -38,13 +38,12 @@ for (const toolkit of result.items) {</Tab></Tabs>-You can filter to only connected toolkits or search by name:+You can filter to only show connected toolkits:<Tabs groupId="language" items={['Python', 'TypeScript']} persist><Tab value="Python">```pythonconnected = session.toolkits(is_connected=True) # Only connected-searched = session.toolkits(search="github") # Search by name```</Tab><Tab value="TypeScript">@@ -54,7 +53,6 @@ const composio = new Composio({ apiKey: 'your_api_key' });const session = await composio.create("user_123");// ---cut---const connected = await session.toolkits({ isConnected: true }); // Only connected-const searched = await session.toolkits({ search: "github" }); // Search by name```</Tab></Tabs>