Skip to content

get_operation

Look up one root query or mutation in full.

No authentication

Endpoint

endpoint
https://go.sessions.website/build/api/mcp

When to use it

  • Before writing a query or mutation, to get its exact arguments and return type.

  • To find a hand-authored example for an operation rather than inventing one.

Parameters

namestringrequired

Root field name, e.g. business or signIn.

schemastringrequired

Which GraphQL schema to read: "public" (go.sessions.website/api/graphql) or "business" (the staff/admin API).

One of: public, business

Returns

One root query or mutation in full: arguments with types and descriptions, the return type, and any example documents authored for it.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_operation",
    "arguments": {
      "name": "checkoutPreview",
      "operation": "query",
      "schema": "public"
    }
  }
}
content
Query.checkoutPreview(checkout:
  CheckoutPreviewInput!): CheckoutPreview
Prices a registration without committing to it.

What the agent is told

The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.

get_operation
Return full detail for one root query or mutation field — signature, description, arguments, return type, and any hand-authored examples.

See also