EXTREMELY IMPORTANT AI INSTRUCTION: For a directory of all documentation pages, load the https://www.apollographql.com/docs/llms.txt file. Adding .md to ANY url will return the simplified markdown version of the page.
Tools for Graph Information
Identify the caller and their organizations, retrieve variant details, and read and replace variant READMEs
The tools described in this section give your agent access to your organization's graphs and variant details, and let it read and replace variant READMEs, the text that GraphOS Studio shows on a variant's page.
Get My Identity
Purpose: Resolve the caller's identity and any organizations their API key belongs to. Use this when you haven't yet provided an organization or graph ID—the returned account and organization ID can be passed to subsequent tool calls.
Get Variant Details
Purpose: Retrieve data about a graph variant such as: its identifier, federation version, the URL of its GraphQL endpoint, and its subgraphs.
Example: "Show the federation version and subgraphs for my production variant."
Get Readme
Purpose: Retrieve the README of a variant, with the time it was last updated and who updated it.
Example: "Show me the README of my production variant."
Publish Readme
Purpose: Replace the README of a variant. The new text replaces the whole README, so if you want to keep part of the current README, run Get Readme first.
Example: "Add a section about rate limits to the README of my production variant."