Skip to main content
Glama

mcp-google-sheets

delete-finetune.ts927 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { SiteSpeakAuth } from '../common/auth'; import { makeRequest } from '../common/client'; import { HttpMethod } from '@activepieces/pieces-common'; import { chatbotIdDropdown, finetuneIdDropdown } from '../common/dropdown'; export const deleteFinetune = createAction({ name: 'delete_finetune', displayName: 'Delete Finetune', description: 'Deletes a fine-tune entry from the selected chatbot.', auth: SiteSpeakAuth, props: { chatbotId: chatbotIdDropdown, finetuneId: finetuneIdDropdown, }, async run({ auth, propsValue }) { const props = propsValue as { chatbotId: string; finetuneId: string }; const response = await makeRequest( auth as string, HttpMethod.DELETE, `/${props.chatbotId}/finetunes/${props.finetuneId}` ); return { success: true, data: response, }; }, });

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