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 { createAction } from '@activepieces/pieces-framework';
import { BikaAuth } from '../auth';
import { bikaOperations } from '../common/operations';
import { bikaOutputSchemas } from '../output-schemas';
export const listSpacesAction = createAction({
auth: BikaAuth,
name: 'list_spaces',
classification: 'SEARCH',
displayName: 'List Spaces',
description: 'Lists the Bika spaces this account belongs to.',
audience: 'both',
aiMetadata: {
description:
'Lists the Bika.ai spaces the connected token can reach, with each space ID, name and plan. Start here to get the space ID that List Databases and every record action need. Read-only; costs one API request.',
idempotent: true,
},
props: {},
outputSchema: bikaOutputSchemas.spaces,
async run(context) {
return bikaOperations.listSpaces({ auth: context.auth });
},
});