Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Refresh Mcp Server Tools

patch/v1/mcp-servers/{mcp_server_id}/refresh

Refresh tools for an MCP server by:

  1. Fetching current tools from the MCP server
  2. Deleting tools that no longer exist on the server
  3. Updating schemas for existing tools
  4. Adding new tools from the server

Returns a summary of changes made.

Path ParametersExpand Collapse
mcp_server_id: string
Query ParametersExpand Collapse
agent_id: optional string
Refresh Mcp Server Tools
curl https://api.letta.com/v1/mcp-servers/$MCP_SERVER_ID/refresh \
    -X PATCH \
    -H "Authorization: Bearer $LETTA_API_KEY"
{}
Returns Examples
{}