Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Merge branch 'next' into docs/cli

Sushmitha Mallesh6686dd2edc71
diff --cc fern/docs.yml
index 2be3863fa,8e8478d4f..6fe17209a
--- a/fern/docs.yml
+++ b/fern/docs.yml
@@@ -185,15 -188,21 +188,24 @@@ navigation
icon: book
skip-slug: true
contents:
+ - page: CLI
+ path: pages/dist/resources/cli.mdx
+ slug: cli
- page: Debugging Info
- path: pages/dist/debugging-info.mdx
+ path: pages/dist/resources/debugging-info.mdx
slug: resources/debugging-info
- - page: Migration Guide
- path: pages/dist/resources/migration-guide.mdx
- slug: migration
+ - section: Migration Guides
+ slug: migration-guide
+ contents:
+ - page: Overview
+ path: pages/dist/migration-guide/index.mdx
+ slug: overview
+ - page: New SDK Migration
+ path: pages/dist/migration-guide/new-sdk.mdx
+ slug: new-sdk
+ - page: Toolkit Versioning Migration
+ path: pages/dist/migration-guide/toolkit-versioning.mdx
+ slug: toolkit-versioning
- section: Troubleshooting
slug: troubleshooting
contents:
diff --cc fern/pages/src/tool-calling/executing-tools.mdx
index 62e3b1700,7892214fa..b08d02e4c
--- a/fern/pages/src/tool-calling/executing-tools.mdx
+++ b/fern/pages/src/tool-calling/executing-tools.mdx
@@@ -59,17 -59,26 +59,28 @@@ Composio provides support for framework
In case you just want to call a tool without using any framework or LLM provider, you can use the `execute` method directly.
<Tip icon="lightbulb">
- **Finding tool arguments**: In the [Auth Configs
- tab](https://platform.composio.dev?next_page=/auth-configs) → Select your toolkit → Tools &
- Triggers → Select the tool to see its required and optional parameters, types, and descriptions.
+ **Finding tool parameters and types:**
+
+ **Platform UI**: [Auth Configs](https://platform.composio.dev?next_page=/auth-configs) → Select your toolkit → Tools & Triggers → Select the tool to see its required and optional parameters
+
+ **CLI**: For python and typescript projects, run `composio generate` to generate types. [Learn more →](/docs/cli#generate-type-definitions)
</Tip>
+
<CodeGroup>
- <SnippetCode src="fern/snippets/tool-calling/python/direct-tool-call.py" title="Python" />
- <SnippetCode src="fern/snippets/tool-calling/typescript/direct-tool-call.ts" title="TypeScript" />
+ <SnippetCode
+ src="fern/snippets/tool-calling/python/direct-tool-call.py"
+ title="Python"
+ />
+ <SnippetCode
+ src="fern/snippets/tool-calling/typescript/direct-tool-call.ts"
+ title="TypeScript"
+ />
</CodeGroup>
+ <Note>
+ The examples above configure toolkit versions at SDK initialization. You can also pass versions per-execution or use environment variables. See [toolkit versioning](/docs/toolkit-versioning) for all configuration options.
+ </Note>
+
### Proxy Execute -- Manually calling toolkit APIs
You can proxy requests to any supported toolkit API and let Composio inject the **authentication state**. This is useful when you need an API endpoint that isn't available as a predefined tool.