---
title: "Return server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and e..."
method: POST
path: "/api/mcp/tools/inspect_preview"
tags: ["tools"]
---

# Return server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and e...

`POST /api/mcp/tools/inspect_preview`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/inspect_preview`
- Auth: HTTP bearer

Return server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and explicit live-browser availability.

## Request body

- object
  - `app_id` string, required: The app ID
  - `route` string: Optional route to inspect
  - `auth_as` string: Optional auth simulation: anonymous
  - `auth_as_role` string: Optional app role simulation, e.g. staff/admin/customer

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
