---
title: "Log Tool Call"
method: POST
path: "/api/mcp/log-tool-call"
tags: ["mcp"]
---

# Log Tool Call

`POST /api/mcp/log-tool-call`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/mcp/log-tool-call`
- Auth: HTTP bearer

Log an MCP tool call for analytics.

This endpoint is called by the ctlsurf-client to track tool usage.

## Request body

- LogToolCallRequest: Request to log a tool call.
  - `tool_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
