Menu

Prepare a WebMCP Review Without Submitting the Request
📰

Prepare a WebMCP Review Without Submitting the Request

DEV Community: react·Raju Dandigam·2 days ago
#hPyzIMIv
#devtoreact#devto#dev#revision#review
Reading 0:00
15s threshold

A business-class trip in my demo produced four facts at the same time:

the saved fields were valid;

the request could be submitted;

the cabin required review;

nothing had been submitted.

An assistant that compresses those facts into “approved” or “blocked” changes the meaning of the application.

I added prepare_trip_review to Trip Workbench so a WebMCP client can bring the saved request and its findings into the React editor without performing the consequential action. The result explicitly includes submitted: false , and the trip remains a draft.

Make “prepare” a first-class operation

The caller supplies both the open draft identity and the revision it intends to review:

{ "draftId" : "<open-draft-id>" , "expectedRevision" : 2 }

Enter fullscreen mode

Exit fullscreen mode

The native browser trace used a synthetic SFO–JFK request for one traveler in business class.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.