Ghost MCP Server

by MFYDev
Verified

update_webhook

Modify an existing webhook in Ghost MCP Server by updating its event, target URL, name, or API version. Ensure accurate webhook configurations by specifying the webhook ID and optional parameters.

Instructions

Update an existing webhook in Ghost.

Args: webhook_id: ID of the webhook to update (required) event: New event to trigger the webhook (optional) target_url: New URL to send the webhook to (optional) name: New name of the webhook (optional) api_version: New API version for the webhook (optional) ctx: Optional context for logging Returns: String representation of the updated webhook Raises: GhostError: If the Ghost API request fails ValueError: If no fields to update are provided or if the event is invalid

Input Schema

NameRequiredDescriptionDefault
api_versionNo
eventNo
nameNo
target_urlNo
webhook_idYes

Input Schema (JSON Schema)

{ "properties": { "api_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Api Version" }, "event": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Event" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "target_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Target Url" }, "webhook_id": { "title": "Webhook Id", "type": "string" } }, "required": [ "webhook_id" ], "title": "update_webhookArguments", "type": "object" }
ID: vor63xn7ky