inspector.restDocs

Tool reference

All 9 read-only tools of the inspector.rest MCP server, grouped by tool group, with parameters, example calls and results.

The inspector.rest MCP server exposes 9 tools. All of them are read-only. A connection sees only the tools of the groups that are turned on for it. Each tool page lists its parameters, an example call and an example result.

Agents are guided through the tools in this order: summarize, list, request, body. Start with list_environments, then summarize_requests or top_values, then list_requests, get_request, describe_body and read_body.

  1. 1list_environments
  2. 2summarize_requestsortop_values
  3. 3list_requests
  4. 4get_request
  5. 5describe_body
  6. 6read_body

Discover and summarize

Environments, counts, error rates and latency by group, most common values.

ToolWhat it doesDefault output budget
list_environmentsLists the environments a connection can read, with the time of the last request and the request count of the last 24 hours.4 KB
summarize_requestsGroups recorded requests and returns count, error rate and duration percentiles per group.4 KB
top_valuesLists the most frequent values of a dimension, such as hosts, path templates, error names or label values.4 KB

Requests

Request lists, details, attempts and headers; differences between two requests.

ToolWhat it doesDefault output budget
list_requestsLists recorded requests as compact rows, newest first, with filters and paging.4 KB
get_requestReturns one request with a line per attempt; headers, error stack and body metadata on demand.6 KB
compare_requestsShows which headers and which JSON paths differ between two requests or attempts.6 KB

Bodies

Structure of bodies, selected parts by JSON path or regex, search across bodies.

ToolWhat it doesDefault output budget
describe_bodyDescribes a body without reading it: content type, size and a two-level key tree for JSON.4 KB
read_bodyReads selected parts of a body by JSON path, regex lines, head, tail or byte range.8 KB
search_bodiesFinds requests whose request or response body contains text or matches a regular expression.4 KB

Common to all tools

  • environment: an org/project/env path or an env_ id. It can be left out when the connection covers a single environment.
  • max_output_bytes: output budget, 512 to 32768.
  • Results carry truncated, next_cursor, hint, untrusted_content and applied_filters where they apply.
  • Errors are returned with isError: true and { code, message, hint }. See Output budgets and limits and Error codes.