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
}
}