@@ -8,10 +8,10 @@ import type { $ToolParams } from '../../constants'
88const sessionIdParam = z
99 . string ( )
1010 . optional ( )
11- . describe ( 'Session ID returned by COMPOSIO_SEARCH_TOOLS , when available.' )
11+ . describe ( 'Session ID returned by composio_search_tools , when available.' )
1212
1313const composioMetaToolInputSchemas = {
14- COMPOSIO_SEARCH_TOOLS : z
14+ composio_search_tools : z
1515 . object ( {
1616 queries : z
1717 . array ( z . unknown ( ) )
@@ -31,7 +31,7 @@ const composioMetaToolInputSchemas = {
3131 model : z . string ( ) . optional ( ) . describe ( 'Client LLM model name.' ) ,
3232 } )
3333 . catchall ( z . unknown ( ) ) ,
34- COMPOSIO_GET_TOOL_SCHEMAS : z
34+ composio_get_tool_schemas : z
3535 . object ( {
3636 tool_slugs : z
3737 . array ( z . string ( ) )
@@ -44,7 +44,7 @@ const composioMetaToolInputSchemas = {
4444 session_id : sessionIdParam ,
4545 } )
4646 . catchall ( z . unknown ( ) ) ,
47- COMPOSIO_MANAGE_CONNECTIONS : z
47+ composio_manage_connections : z
4848 . object ( {
4949 toolkits : z
5050 . array ( z . string ( ) )
@@ -57,7 +57,7 @@ const composioMetaToolInputSchemas = {
5757 session_id : sessionIdParam ,
5858 } )
5959 . catchall ( z . unknown ( ) ) ,
60- COMPOSIO_MULTI_EXECUTE_TOOL : z
60+ composio_multi_execute_tool : z
6161 . object ( {
6262 tools : z
6363 . array ( z . record ( z . string ( ) , z . unknown ( ) ) )
@@ -77,13 +77,13 @@ const composioMetaToolInputSchemas = {
7777}
7878
7979const composioMetaToolDescriptions = {
80- COMPOSIO_SEARCH_TOOLS :
80+ composio_search_tools :
8181 'Discover relevant Composio tools across external apps. Use this first for requests involving services like Gmail, GitHub, Slack, Linear, Notion, Google Calendar, or Google Sheets.' ,
82- COMPOSIO_GET_TOOL_SCHEMAS :
83- 'Retrieve complete input schemas for specific Composio tool slugs returned by COMPOSIO_SEARCH_TOOLS .' ,
84- COMPOSIO_MANAGE_CONNECTIONS :
82+ composio_get_tool_schemas :
83+ 'Retrieve complete input schemas for specific Composio tool slugs returned by composio_search_tools .' ,
84+ composio_manage_connections :
8585 'Check or initiate user authentication for external app toolkits. Use when search/execution indicates a toolkit is not connected.' ,
86- COMPOSIO_MULTI_EXECUTE_TOOL :
86+ composio_multi_execute_tool :
8787 'Execute one or more discovered Composio app tools in the current workflow session. Do not use workbench offloading.' ,
8888}
8989
@@ -98,32 +98,32 @@ const composioOutputSchema = jsonToolResultSchema(
9898)
9999
100100export const composioMetaToolParams = {
101- COMPOSIO_MANAGE_CONNECTIONS : {
102- toolName : 'COMPOSIO_MANAGE_CONNECTIONS ' ,
101+ composio_manage_connections : {
102+ toolName : 'composio_manage_connections ' ,
103103 endsAgentStep : true ,
104- description : composioMetaToolDescriptions . COMPOSIO_MANAGE_CONNECTIONS ,
105- inputSchema : composioMetaToolInputSchemas . COMPOSIO_MANAGE_CONNECTIONS ,
104+ description : composioMetaToolDescriptions . composio_manage_connections ,
105+ inputSchema : composioMetaToolInputSchemas . composio_manage_connections ,
106106 outputSchema : composioOutputSchema ,
107107 } ,
108- COMPOSIO_MULTI_EXECUTE_TOOL : {
109- toolName : 'COMPOSIO_MULTI_EXECUTE_TOOL ' ,
108+ composio_multi_execute_tool : {
109+ toolName : 'composio_multi_execute_tool ' ,
110110 endsAgentStep : true ,
111- description : composioMetaToolDescriptions . COMPOSIO_MULTI_EXECUTE_TOOL ,
112- inputSchema : composioMetaToolInputSchemas . COMPOSIO_MULTI_EXECUTE_TOOL ,
111+ description : composioMetaToolDescriptions . composio_multi_execute_tool ,
112+ inputSchema : composioMetaToolInputSchemas . composio_multi_execute_tool ,
113113 outputSchema : composioOutputSchema ,
114114 } ,
115- COMPOSIO_SEARCH_TOOLS : {
116- toolName : 'COMPOSIO_SEARCH_TOOLS ' ,
115+ composio_search_tools : {
116+ toolName : 'composio_search_tools ' ,
117117 endsAgentStep : true ,
118- description : composioMetaToolDescriptions . COMPOSIO_SEARCH_TOOLS ,
119- inputSchema : composioMetaToolInputSchemas . COMPOSIO_SEARCH_TOOLS ,
118+ description : composioMetaToolDescriptions . composio_search_tools ,
119+ inputSchema : composioMetaToolInputSchemas . composio_search_tools ,
120120 outputSchema : composioOutputSchema ,
121121 } ,
122- COMPOSIO_GET_TOOL_SCHEMAS : {
123- toolName : 'COMPOSIO_GET_TOOL_SCHEMAS ' ,
122+ composio_get_tool_schemas : {
123+ toolName : 'composio_get_tool_schemas ' ,
124124 endsAgentStep : true ,
125- description : composioMetaToolDescriptions . COMPOSIO_GET_TOOL_SCHEMAS ,
126- inputSchema : composioMetaToolInputSchemas . COMPOSIO_GET_TOOL_SCHEMAS ,
125+ description : composioMetaToolDescriptions . composio_get_tool_schemas ,
126+ inputSchema : composioMetaToolInputSchemas . composio_get_tool_schemas ,
127127 outputSchema : composioOutputSchema ,
128128 } ,
129129} satisfies {
0 commit comments