Skip to main content
Glama

mcp-google-sheets

get-run-outputs.ts846 B
import { comfyIcuAuth } from '../../index'; import { createAction } from '@activepieces/pieces-framework'; import { comfyIcuApiCall, commonProps } from '../common'; import { HttpMethod } from '@activepieces/pieces-common'; export const getRunOutputAction = createAction({ auth: comfyIcuAuth, name: 'get-run-output', displayName: 'Get Run Output', description: 'Retrieves generated images or videos from a completed run.', props: { ...commonProps, }, async run(context) { const { workflow_id, run_id } = context.propsValue; const response = await comfyIcuApiCall({ apiKey: context.auth, endpoint: `/workflows/${workflow_id}/runs/${run_id}`, method: HttpMethod.GET, }); const runOutput = response.body as { output: Array<Record<string,any>> }; return { result: runOutput.output }; }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server