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
docs: only mention LOCAL_ as reserved prefix, drop COMPOSIO_
Dhawal Upadhyayc1a514f66ced
diff --git a/docs/content/docs/toolkits/custom-tools-and-toolkits.mdx b/docs/content/docs/toolkits/custom-tools-and-toolkits.mdxindex 77e2b1001..b97740a3f 100644--- a/docs/content/docs/toolkits/custom-tools-and-toolkits.mdx+++ b/docs/content/docs/toolkits/custom-tools-and-toolkits.mdx@@ -118,7 +118,7 @@ Custom tools integrate seamlessly with Composio's meta tools:Tool names exposed to the agent are automatically prefixed with `LOCAL_` and the toolkit name (if any). For example, `GET_USER_PROFILE` becomes `LOCAL_GET_USER_PROFILE`, and `ASSIGN_ROLE` inside `USER_MANAGEMENT` becomes `LOCAL_USER_MANAGEMENT_ASSIGN_ROLE`.-Registered slugs cannot start with `LOCAL_` or `COMPOSIO_` — these prefixes are reserved.+Registered slugs cannot start with `LOCAL_` — this prefix is reserved.## Verifying registrationdiff --git a/ts/packages/core/src/models/CustomTool.ts b/ts/packages/core/src/models/CustomTool.tsindex 518853c1f..200bcee3d 100644--- a/ts/packages/core/src/models/CustomTool.ts+++ b/ts/packages/core/src/models/CustomTool.ts@@ -86,7 +86,7 @@ function validateSlugLength(toolSlug: string, toolkitSlug: string | undefined, c* **Slug naming:** The slug you provide is automatically prefixed with `LOCAL_` when* exposed to the agent (e.g. `'GREP'` becomes `LOCAL_GREP`). If the tool is inside a* custom toolkit, the toolkit slug is also included (e.g. `LOCAL_DEV_TOOLS_GREP`).- * The `LOCAL_` and `COMPOSIO_` prefixes are reserved and cannot be used in your slug.+ * The `LOCAL_` prefix is reserved and cannot be used in your slug.** @param slug - Unique tool identifier (alphanumeric, underscores, hyphens; no LOCAL_ or COMPOSIO_ prefix)* @param options - Tool definition including name, schema, and execute function@@ -189,7 +189,7 @@ export function createCustomTool<T extends z.ZodType>(** **Slug naming:** The toolkit slug becomes part of the final tool slug exposed to the agent.* For example, a toolkit `'DEV_TOOLS'` with a tool `'GREP'` produces `LOCAL_DEV_TOOLS_GREP`.- * The `LOCAL_` and `COMPOSIO_` prefixes are reserved and cannot be used in your slug.+ * The `LOCAL_` prefix is reserved and cannot be used in your slug.** @param slug - Unique toolkit identifier (alphanumeric, underscores, hyphens; no LOCAL_ or COMPOSIO_ prefix)* @param options - Toolkit definition including name, description, and tools