AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { HttpMethod } from '@activepieces/pieces-common';
import { raindropClient } from './client';
import type { RaindropAuthValue, RaindropCollection } from './types';
async function listCollections({
auth,
}: {
auth: RaindropAuthValue;
}): Promise<RaindropCollection[]> {
const response = await raindropClient.request<{
items: RaindropCollection[];
}>({ auth, method: HttpMethod.GET, path: '/collections' });
return response.items;
}
async function listChildCollections({
auth,
}: {
auth: RaindropAuthValue;
}): Promise<RaindropCollection[]> {
const response = await raindropClient.request<{
items: RaindropCollection[];
}>({ auth, method: HttpMethod.GET, path: '/collections/childrens' });
return response.items;
}
export const raindropApi = { listCollections, listChildCollections };