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.

154 B
Raw Blame
/**
 * Clamp a user-provided limit to the valid API range [1, 1000].
 */
export const clampLimit = (n: number): number => Math.max(1, Math.min(1000, n));