Skip to main content
Glama

mcp-google-sheets

get-pdf.ts620 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { placidAuth } from '../../index'; import { PlacidClient } from '../common/client'; export const getPdf = createAction({ auth: placidAuth, name: 'get_pdf', displayName: 'Get PDF', description: 'Retrieves the generated PDF by its ID.', props: { pdfId: Property.ShortText({ displayName: 'PDF ID', description: 'The ID of the PDF to retrieve', required: true, }), }, async run(context) { const { pdfId } = context.propsValue; const client = new PlacidClient(context.auth); return await client.getPdf(pdfId); }, });

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