Support example

Bring the current ticket into the conversation

“What is blocking support ticket 48392?”

get_support_ticket

The browser finds one tool on the website. The tool sends one request to the existing API.

User request

What is blocking support ticket 48392?

Browser tool call

Code
get_support_ticket({
  "ticketId": "48392"
})

OpenAPI setting

JSON
{
  "operationId": "get_support_ticket",
  "description": "Get the current state of one support ticket.",
  "x-webmcp-enabled": true,
  "parameters": [
    {
      "name": "ticketId",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "pattern": "^[0-9]+$"
      }
    }
  ]
}

Existing API request

Code
GET /api/tickets/48392

Why this is a fit

This request only reads data. It uses simple values in the path or query. The website can check the current user’s access before the API returns data.

What stays out

The tool cannot change data. It does not create incidents, change inventory, update tickets, or edit metrics.

All examples

Start typing to search.