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
fix: anthropic tool-calling demo
angrybayblade778e39b4b7ca
diff --git a/fern/docs/tool-calling/executing-tools.mdx b/fern/docs/tool-calling/executing-tools.mdxindex 2d0cfb23c..53777dcb1 100644--- a/fern/docs/tool-calling/executing-tools.mdx+++ b/fern/docs/tool-calling/executing-tools.mdx@@ -60,7 +60,7 @@ anthropic_client = anthropic.Anthropic()composio = Composio(provider=AnthropicProvider())# Get GitHub tools that are pre-configured-tools = composio.tools.get(user_id="default", toolkits=["GITHUB_GET_THE_ZEN_OF_GITHUB"])+tools = composio.tools.get(user_id="default", tools=["GITHUB_GET_THE_ZEN_OF_GITHUB"])# Get response from the LLMresponse = anthropic_client.messages.create(diff --git a/fern/snippets/migration/new_execute_tools.py b/fern/snippets/migration/new_execute_tools.pyindex 0358c1529..3f73dd0ff 100644--- a/fern/snippets/migration/new_execute_tools.py+++ b/fern/snippets/migration/new_execute_tools.py@@ -4,9 +4,7 @@ from openai import OpenAIopenai_client = OpenAI()composio = Composio()-tools = composio.tools.get(user_id="[email protected]",- toolkits=["GITHUB_GET_THE_ZEN_OF_GITHUB"])-+tools = composio.tools.get(user_id="[email protected]", tools=["GITHUB_GET_THE_ZEN_OF_GITHUB"])response = openai_client.chat.completions.create(model="gpt-4.1",messages=[{"role": "user", "content": "gimme some zen."}],