Settings

Update Mcp Tool Search Settings

Update litellm_settings.mcp_tool_search in the database. Settings will be picked up by all pods within approximately 10 seconds via background polling.

patch/update/mcp_tool_search_settings

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/update/mcp_tool_search_settings
  • Auth: API key in header x-litellm-api-key

Request body

embedding_modelstring nullable

Embedding model from model_list used to rank tools by meaning. Unset keeps keyword matching.

top_kinteger

Most ranked tools a search returns. A smaller top_k in the tool call wins. Core tools do not count.

similarity_thresholdnumber

Lowest cosine similarity a tool needs to appear in semantic results (0.0 = no cutoff).

core_toolsstring[]

Tool names always returned first when the caller can access them, e.g. my_server-get_rates.

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.