Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs: show how to read a tool's tags with the SDK
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mukund committed
Oct 15, 2026 at 17:41 UTC
867597343f83697fab8231148e89b74746290d2f
1 file changed
+17
-1
docs/content/docs/tool-tags.mdx
+17
-1
@@ -21,7 +21,23 @@ Composio tags tools on a best-effort basis, based on each tool's description and
21
22
## Viewing a tool's tags
23
24
-[Get a tool](/reference/api-reference/tools/getToolsByToolSlug) returns a tool's tags in the `tags` field.
24
+<Tabs groupId="language" items={['Python', 'TypeScript']} persist>
25
+<Tab value="Python">
26
+```python
27
+tool = composio.tools.get_raw_composio_tool_by_slug("GMAIL_SEND_EMAIL")
28
+print(tool.tags)
29
+```
30
+</Tab>
31
+<Tab value="TypeScript">
32
+```typescript
33
+import { Composio } from '@composio/core';
34
+const composio = new Composio({ apiKey: 'your_api_key' });
35
+// ---cut---
36
+const tool = await composio.tools.getRawComposioToolBySlug("GMAIL_SEND_EMAIL");
37
+console.log(tool.tags);
38
+```
39
+</Tab>
40
+</Tabs>
41
42
## Using tags in a session
43