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 21, 08:30 UTC
docs: show real tags output and which tag sessions use
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mukund committed
Oct 15, 2026 at 18:15 UTC
3a39efcf4e8dfd874b5b4cedbff216dfc97f53ab
1 file changed
+4
-2
docs/content/docs/tool-tags.mdx
+4
-2
@@ -25,7 +25,7 @@ Composio tags tools on a best-effort basis, based on each tool's description and
25
<Tab value="Python">
26
```python
27
tool = composio.tools.get_raw_composio_tool_by_slug("GMAIL_SEND_EMAIL")
28
-print(tool.tags)
28
+print(tool.tags) # ['important', 'openWorldHint', 'createHint']
29
```
30
</Tab>
31
<Tab value="TypeScript">
@@ -34,11 +34,13 @@ 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);
37
+console.log(tool.tags); // ['important', 'openWorldHint', 'createHint']
38
```
39
</Tab>
40
</Tabs>
41
42
+`tags` also includes other labels. Sessions only use the four tags above, so `GMAIL_SEND_EMAIL` is a `createHint` tool.
43
+
44
## Using tags in a session
45
46
A session can allow, block or require approval for tools by their tag, and override this for specific toolkits: