Explain priceDisplayLogic field and update existing references#5
Open
jopdeklein wants to merge 1 commit intomainfrom
Open
Explain priceDisplayLogic field and update existing references#5jopdeklein wants to merge 1 commit intomainfrom
jopdeklein wants to merge 1 commit intomainfrom
Conversation
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.
Summary
priceDisplayLogicinput exposed by the Vio MCP (base/base_tax/base_tax_fees/auto, defaulting tobase_tax_fees). On the first search the skill now briefly offers to switch modes alongside the initial results, without blocking, and persists the user's choice for the rest of the conversation.(total)/(per night)suffix with a mandatory(span, inclusion)price label built from the request'spriceModeand the response'spriceLogic, so every price is clearly tagged as e.g.(total, incl. taxes & fees)— no more guessing whether taxes and fees are in the number.references/tool-reference.mdto documentpriceDisplayLogicas an input and to correct thepriceLogicoutput enum (now includesbase_tax).Context
Sibling MCP repo introduced
priceDisplayLogicacrosssearch_hotels,search_hotels_availability, andget_hotels(seeopenspec/specs/price-display-logic/spec.md). Default isbase_tax_fees(fully inclusive), but the field lets callers request pre-tax or room-rate-only totals. The skill needed to (a) know the field exists and surface it to the user just in case, and (b) always label prices with what they actually include — the two prior sources of the "price discrepancy" confusion this story was filed for.Test plan
(span, inclusion)label for eachpriceLogicvalue (base,base_tax,base_tax_fees,base_fees).🤖 Generated with Claude Code