Link Search Menu Expand Document Documentation Menu

Remove MCP tools

Introduced 3.0

This is an experimental feature and is not recommended for use in a production environment. For updates on the progress of the feature or if you want to leave feedback, join the discussion on the OpenSearch forum.

Use this API to delete one or more Model Context Protocol (MCP)-based tools by name.

Endpoints

POST /_plugins/_ml/mcp/tools/_remove

Example request

POST /_plugins/_ml/mcp/tools/_remove
[
 "WebSearchTool", "ListIndexTool"
]

Example response

OpenSearch responds with the node ID and the status of tool deletion for each node:

{
    "_ZNV5BrNTVm6ilcM7Jn1pw": {
        "removed": true
    },
    "NZ9aiUCrSp2b5KBqdJGJKw": {
        "removed": true
    }
}
350 characters left

Have a question? .

Want to contribute? or .