Skip to main content
Glama

mcp-google-sheets

extract.ts1.16 kB
import { createAction, Property } from '@activepieces/pieces-framework'; import { httpClient, HttpMethod } from '@activepieces/pieces-common'; import { tavilyAuth } from '../../index'; export const extractAction = createAction({ name: 'extract', displayName: 'Extract Content', description: 'Retrieve raw web content from specified URLs.', auth: tavilyAuth, props: { urls: Property.Array({ displayName: 'URLs', description: 'The URLs you want to extract with Tavily.', required: true, }), include_images: Property.Checkbox({ displayName: 'Include Images', description: 'Include a list of images extracted from the URLs in the response.', required: false, defaultValue: false, }), }, async run({ auth, propsValue }) { const response = await httpClient.sendRequest({ method: HttpMethod.POST, url: 'https://api.tavily.com/extract', headers: { 'Content-Type': 'application/json', }, body: { api_key: auth, urls: propsValue.urls, include_images: propsValue.include_images, }, }); return response.body; }, });

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