Skip to main content
Glama

webhooks.update

Modify an existing webhook endpoint to change its URL, activity status, or event subscriptions within the Ryft MCP server.

Instructions

Update a Ryft webhook endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
activeYes
eventTypesYes
idYes

Implementation Reference

  • Registration and implementation of the 'webhooks.update' tool, which updates a webhook using the Ryft HTTP client.
    registerTool(
      'webhooks.update',
      'Update a Ryft webhook endpoint.',
      webhookUpdateSchema.shape,
      async (args) => {
        const parsed = webhookUpdateSchema.parse(args);
        const { id, ...body } = parsed;
        return client.patch(`/webhooks/${id}`, body);
      },
    );
  • Zod schema definition for validating the input arguments of the 'webhooks.update' tool.
    const webhookUpdateSchema = webhookSchema.extend({
      id: z.string().min(1),
    });

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/bkawk/ryft-mcp'

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