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.

docs: tighten toolkit version callout

Kshitij Jhunjhunwala3165e82ec9b2
diff --git a/docs/content/docs/tools-direct/fetching-tools.mdx b/docs/content/docs/tools-direct/fetching-tools.mdx
index 2b2bd6e19..54a75d601 100644
--- a/docs/content/docs/tools-direct/fetching-tools.mdx
+++ b/docs/content/docs/tools-direct/fetching-tools.mdx
@@ -242,7 +242,7 @@ const toolkitSearchRaw = await composio.tools.getRawComposioTools({
</Tabs>
<Callout type="info">
-These SDK examples use `latest`, the default when you don't configure `toolkit_versions` (TypeScript: `toolkitVersions`) on the client. For direct REST calls, omission depends on the API version: the v3 tools endpoints default to the pinned base version (`00000000_00`), while the v3.1 tools endpoints default to `latest`. Use `latest` when an LLM consumes tool output; pin a dated version when application code parses the output. See [toolkit versioning](/docs/tools-direct/toolkit-versioning).
+These SDK examples use `latest` by default. REST v3 tool endpoints default to `00000000_00`; REST v3.1 tool endpoints default to `latest`. Pin a dated version when application code parses tool output. See [toolkit versioning](/docs/tools-direct/toolkit-versioning).
</Callout>
## Next
diff --git a/docs/tests/static/content.test.ts b/docs/tests/static/content.test.ts
index 21d073bf7..d53180741 100644
--- a/docs/tests/static/content.test.ts
+++ b/docs/tests/static/content.test.ts
@@ -140,7 +140,7 @@ describe("Content - toolkit version guidance", () => {
test("the SDK fetching guide distinguishes SDK, REST v3, and REST v3.1 defaults", async () => {
const content = await readFile(FETCHING_TOOLS_DOC, "utf-8");
- expect(content).toContain("don't configure `toolkit_versions` (TypeScript: `toolkitVersions`)");
+ expect(content).toContain("These SDK examples use `latest` by default");
expect(content).toContain("v3 tools endpoints default to the pinned base version (`00000000_00`)");
expect(content).toContain("v3.1 tools endpoints default to `latest`");
expect(content).not.toMatch(/the API returns tools from the base version/i);