Request Tracer
Debug your website by tracing API requests in real-time. Start a trace session, perform your operations, then review what happened behind the scenes.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat. Replace the parts in [brackets] with your own details.
@WebsitePublisher start a request trace, then tell me why my [contact form] fails when I submit it@WebsitePublisher show the captured trace of my last test and clear it afterwardsWith WebsitePublisher, start a request trace, then tell me why my [contact form] fails when I submit itWith WebsitePublisher, show the captured trace of my last test and clear it afterwardsWith WebsitePublisher, start a request trace, then tell me why my [contact form] fails when I submit itWith WebsitePublisher, show the captured trace of my last test and clear it afterwardsEndpoints (5)
Start capturing API requests for this project. Returns a session hash for retrieving logs.
| Field | Type | Required | Description |
|---|---|---|---|
ttl |
integer | No | Session duration in seconds (default: 60, min: 10, max: 300) |
include_sql |
boolean | No | Include database operation summaries in trace entries (SQL is abstracted, never raw) |
include_optimizer |
boolean | No | Also trace public page serving (Optimizer) requests |
Stop an active trace session early. Logs remain available for 5 minutes.
| Field | Type | Required | Description |
|---|---|---|---|
hash |
string | ✓ Yes | Session hash from start response |
Check if a trace session is active and how many entries have been captured.
No input parameters required.
Retrieve all captured trace entries for a session.
| Field | Type | Required | Description |
|---|---|---|---|
hash |
string | ✓ Yes | Session hash from start response |
since |
integer | No | Only return entries with sequence number > since (useful for polling) |
Delete all trace entries for a session.
| Field | Type | Required | Description |
|---|---|---|---|
hash |
string | ✓ Yes | Session hash from start response |
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| start | tracer_start |
| stop | tracer_stop |
| status | tracer_status |
| logs | tracer_logs |
| clear | tracer_clear |
Website