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: scope toolkit defaults to tools endpoints
Kshitij Jhunjhunwala committed
Aug 10, 2026 at 13:05 UTC
520f38e2def4ed98925dbeff55865dc849fd99b4
2 files changed
+4
-4
docs/content/docs/tools-direct/fetching-tools.mdx
+1
-1
@@ -242,7 +242,7 @@ const toolkitSearchRaw = await composio.tools.getRawComposioTools({
242
</Tabs>
243
244
<Callout type="info">
245
-These SDK examples default to `latest` when `toolkit_versions` is omitted. For direct REST calls, omission depends on the API version: v3 defaults to the pinned base version (`00000000_00`), while v3.1 defaults 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).
245
+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).
246
</Callout>
247
248
## Next
docs/tests/static/content.test.ts
+3
-3
@@ -140,9 +140,9 @@ describe("Content - toolkit version guidance", () => {
140
test("the SDK fetching guide distinguishes SDK, REST v3, and REST v3.1 defaults", async () => {
141
const content = await readFile(FETCHING_TOOLS_DOC, "utf-8");
142
143
- expect(content).toContain("These SDK examples default to `latest`");
144
- expect(content).toContain("v3 defaults to the pinned base version (`00000000_00`)");
145
- expect(content).toContain("v3.1 defaults to `latest`");
143
+ expect(content).toContain("don't configure `toolkit_versions` (TypeScript: `toolkitVersions`)");
144
+ expect(content).toContain("v3 tools endpoints default to the pinned base version (`00000000_00`)");
145
+ expect(content).toContain("v3.1 tools endpoints default to `latest`");
146
expect(content).not.toMatch(/the API returns tools from the base version/i);
147
expect(content).not.toContain("Never use `latest` in production");
148
});