Skip to main content
Glama
OptionFieldSchema.ts898 B
import z from "zod"; export const OptionFieldSchema = z.object({ id: z.string().optional().describe("Unique identifier for the Field."), isEditable: z .boolean() .optional() .describe("Indicates if the field is editable."), isRequired: z .boolean() .optional() .describe("Indicates if the field is required."), type: z .literal("Option") .describe('Type of the field. Set this to "Option".'), displayName: z.string().describe("Name of the field."), helpText: z.string().optional().describe("Help text for the field."), metadata: z.object({ options: z.array( z .object({ name: z.string().describe("Name of the option."), id: z .string() .optional() .describe("Unique identifier for the option."), }) .describe("Array of options for the field.") ), }), });

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