Skip to main content
Glama

mcp-google-sheets

find-document.ts657 B
import { createAction } from '@activepieces/pieces-framework'; import { pdfmonkeyAuth } from '../common/auth'; import { makeRequest } from '../common/client'; import { HttpMethod } from '@activepieces/pieces-common'; import { documentIdDropdown } from '../common/props'; export const findDocumentAction = createAction({ auth: pdfmonkeyAuth, name: 'findDocument', displayName: 'Find Document', description: 'Finds a document by ID.', props: { document_id: documentIdDropdown, }, async run({ auth, propsValue }) { const { document_id } = propsValue; return await makeRequest(auth as string, HttpMethod.GET, `/documents/${document_id}`); }, });

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