You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
env_vars: z.record(z.string(),z.string()).nullable().optional().describe('Environment variables to set when executing the commands'),
175
176
working_dir: z.string().nullable().optional().describe('Working directory for command execution'),
176
177
auth: z.undefined().optional(),
178
+
allowed_communication_protocols: z.array(z.string()).optional().describe('Optional list of allowed communication protocol types for tools within this manual.'),
177
179
}).strict()asz.ZodType<CliCallTemplate>;
178
180
179
181
/**
@@ -200,6 +202,7 @@ export class CliCallTemplateSerializer extends Serializer<CliCallTemplate> {
console.warn(`Tool '${tool.name}' uses communication protocol '${toolProtocol}' which is not in allowed protocols [${allowedProtocols.map(p=>`'${p}'`).join(', ')}] for manual '${manualCallTemplate.name}'. Tool will not be registered.`);
thrownewError(`Tool '${toolName}' uses communication protocol '${toolProtocol}' which is not allowed by manual '${manualName}'. Allowed protocols: [${allowedProtocols.map(p=>`'${p}'`).join(', ')}]`);
thrownewError(`Tool '${toolName}' uses communication protocol '${toolProtocol}' which is not allowed by manual '${manualName}'. Allowed protocols: [${allowedProtocols.map(p=>`'${p}'`).join(', ')}]`);
callable_name: z.string().describe('The name of the callable function to invoke.'),
29
30
auth: z.undefined().optional(),
31
+
allowed_communication_protocols: z.array(z.string()).optional().describe('Optional list of allowed communication protocol types for tools within this manual.'),
30
32
}).strict()asz.ZodType<DirectCallTemplate>;
31
33
32
34
/**
@@ -42,6 +44,7 @@ export class DirectCallTemplateSerializer extends Serializer<DirectCallTemplate>
0 commit comments