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 7 lines 227 Bytes
Raw
1 export function encodeMarkdownTableCell(value: string): string {
2 return value.replace(/\r\n?|\n/g, ' ').replace(/\|/g, '|');
3 }
4
5 export function encodeYamlString(value: string): string {
6 return JSON.stringify(value);
7 }