Skip to main content
Glama

mcp-google-sheets

get-task.ts615 B
import { Property, createAction } from '@activepieces/pieces-framework'; import { onfleetAuth } from '../..'; import Onfleet from '@onfleet/node-onfleet'; export const getTask = createAction({ auth: onfleetAuth, name: 'get_task', displayName: 'Get Task', description: 'Get a specific task', props: { task: Property.ShortText({ displayName: 'Task ID', description: 'The ID of the task you want to delete', required: true, }), }, async run(context) { const onfleetApi = new Onfleet(context.auth); return await onfleetApi.tasks.get(context.propsValue.task); }, });

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