Skip to main content
POST

Authorizations

X-Api-Key
string
header
required

Personal or workspace LangSmith API key. Personal keys identify the user. Workspace keys are limited to server listing and MCP calls and must also supply the end user's OIDC token or X-LangSmith-Identity.

X-Tenant-Id
string
header
required

Workspace UUID. This header selects a workspace; it does not authenticate the caller.

Headers

X-LangSmith-Identity
string

Advanced alternative to a user OIDC token with a workspace API key. Set to the user's Tool Gateway identity UUID or provider:subject. Using that user's stored credentials requires workspaces:credentials:use or agent-auth-credentials:use. Ignored for personal credentials.

X-LangSmith-Profile
string<uuid>

Profile ID whose admin-connected credentials to use instead of a user's. Requires workspaces:credentials:use or agent-auth-credentials:use and cannot be combined with X-LangSmith-Identity or a user OIDC token.

MCP-Protocol-Version
string

MCP protocol version

Path Parameters

kit_id
string
required

Tool kit ID, or me for the kit of every server the caller can use

Query Parameters

mode
enum<string>

Omit to list every tool. search lists search_tools, get_tool, and call_tool instead, for hosts that put every listed tool in the model prompt. Direct tools/call by name works in both modes.

Available options:
search

Response

JSON-RPC response.