Skip to main content
Glama

mcp-google-sheets

update-plan.ts821 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { microsoft365PlannerAuth, microsoft365PlannerCommon } from '../common'; import { PlanDropdown } from '../common/properties'; export const updatePlan = createAction({ auth: microsoft365PlannerAuth, name: 'updatePlan', displayName: 'Update Plan', description: 'modify metadata of a plan (e.g. title changes).', props: { id: PlanDropdown({ required: true }), title: Property.ShortText({ displayName: 'Title', description: 'The new title of the plan', required: true, }), }, async run({ auth, propsValue: { id, title } }) { if (!id) { throw new Error('Plan id is required'); } return await microsoft365PlannerCommon.updatePlan({ auth, id, title, }); }, });

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