Skip to main content
Glama

pages_get_content

Retrieve structured content and data for a specific Webflow page, including all elements and their properties, to analyze or integrate page information.

Instructions

Get the content structure and data for a specific page including all elements and their properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesUnique identifier for the page.
localeIdNoUnique identifier for a specific locale. Applicable when using localization.
limitNoMaximum number of records to be returned (max limit: 100)
offsetNoOffset used for pagination if the results have more than limit records.

Implementation Reference

  • Registration of the 'pages_get_content' tool, including input schema, description, and handler function.
    "pages_get_content", { title: "Get Page Content", description: "Get the content structure and data for a specific page including all elements and their properties.", inputSchema: z.object({ page_id: z.string().describe("Unique identifier for the page."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), limit: z .number() .optional() .describe( "Maximum number of records to be returned (max limit: 100)" ), offset: z .number() .optional() .describe( "Offset used for pagination if the results have more than limit records." ), }), }, async ({ page_id, localeId, limit, offset }) => { try { const response = await getClient().pages.getContent( page_id, { localeId, limit, offset, }, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } } );
  • The handler function that executes the tool logic by calling Webflow API to get page content.
    async ({ page_id, localeId, limit, offset }) => { try { const response = await getClient().pages.getContent( page_id, { localeId, limit, offset, }, requestOptions ); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Zod input schema defining parameters for the pages_get_content tool: page_id (required), localeId, limit, offset (optional).
    inputSchema: z.object({ page_id: z.string().describe("Unique identifier for the page."), localeId: z .string() .optional() .describe( "Unique identifier for a specific locale. Applicable when using localization." ), limit: z .number() .optional() .describe( "Maximum number of records to be returned (max limit: 100)" ), offset: z .number() .optional() .describe( "Offset used for pagination if the results have more than limit records." ), }),

Latest Blog Posts

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/webflow/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server