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 11 lines 210 Bytes
Raw
1 export type SearchParam = {
2 field?: string;
3 operation?: string;
4 value?: string;
5 };
6
7 export const toSearchParam = (field: string, value: string): SearchParam => ({
8 field,
9 operation: '==',
10 value,
11 });