compare_versions
Compare how a documentation topic differs between product versions, section by section, to identify why behavior changed. Resolves version-ambiguous queries and follows product renames.
Instructions
Show how one documentation topic differs between product versions, section by section. Use this for any 'this worked in version N but not N+1' question, or before answering when search_docs set version_ambiguous. Note that some products were renamed between versions (App Builder became Studio, for example) - this tool follows renames, so it spans them where a name-based search would not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Topic slug - the part of a `ref` after the '/'. From 'studio-guide-9/data-binding' pass 'data-binding'. | |
| product | No | Product family to compare within. Omit to infer from `slug` when unambiguous. | |
| versions | No | Specific versions to compare. Omit for all versions that document this topic. | |
| include_text | No | Include full section text per version. Off by default - the diff summary is usually enough and far cheaper. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| product | Yes | ||
| verdict | Yes | 'identical' means any version's page answers the question. 'substantive_change' means you MUST establish the user's version before answering. | |
| versions | Yes | ||
| rename_note | No | Set when the family spans a product rename, e.g. 'App Builder is the pre-Studio-8 name for Studio'. |