Repository navigation
docs(predictions): self-serve webhook destinations over MCP - #209
Merged
Merged
Conversation
Document createWebhookDestination, rotateWebhookDestinationSecret, disableWebhookDestination and sendWebhookTestEvent beside the settings page, update the event tool table to ten tools, the verification steps and the Grok, Codex and Claude setup. Native tools reference regenerated from the catalog.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Docs PreviewChanged docs pages: 5
Navigation updated: no Impacted nav groups:
|
Always pass subscriptionId to getPredictionEvents, persist the cursor, loop while hasMore, dedupe on eventId, re-read state when truncated, and resume an idle subscription with patch.enabled. Add a /loop polling prompt for Claude Code and note that a webhook destination does not start a Claude turn. State the 5-destination cap and the shared hourly limits explicitly.
ericjuta
marked this pull request as ready for review
October 23, 2026 17:53
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hold: merge only after nextjs-ai-chatbot PR
feat/prediction-events-destination-toolsis deployed to production (askgina.ai lists the four tools).Docs for self-serve webhook destinations over MCP, so Grok, Codex, Claude and similar clients can set up push delivery with no browser step. The settings page stays and shares the same destinations.
Shared-contract tool names (keep in sync with the code PR; they appear in
docs/predictions-mcp/events.mdx, the connect pages andtools/docs/venue-tools.json):createWebhookDestination({ label, url, secret? })rotateWebhookDestinationSecret({ destinationId, secret? })disableWebhookDestination({ destinationId })sendWebhookTestEvent({ destinationId })Changed pages:
docs/predictions-mcp/events.mdx: two equal registration paths, ten tools, check steps, Grok and Codex sectionsdocs/predictions-mcp/tools.mdx: regenerated from the catalogdocs/connect/grok-bot.mdx,docs/connect/codex.mdx,docs/connect/claude.mdxtools/docs/venue-tools.json: three new annotation classes and the four tools (the reference page is generated from it)Not changed: skills, code, evals.
Checks run locally: fmt:check, docs:test, docs:check, venue-tools --check, lint, audit all exit 0. Rejudge plus
compare.mjs: "No regression against the baseline", pages newly at drift_risk >= 0.7: 0.