Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 3 lines 122 Bytes
Raw
1 export function resolveCopyLinkUrl(href: string, currentUrl: string): string {
2 return new URL(href, currentUrl).href;
3 }