You're viewing version 3.3 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Remove MCP Tools API
Introduced 3.0
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
}
}