Set or clear the person's risk label for one tool of their custom MCP server.
PUT
/v1/virtual-users/{identity_id}/mcp-servers/{server_id}/tools/{tool_name}/label
const url = 'https://app.everruns.com/api/v1/virtual-users/example/mcp-servers/example/tools/example/label';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"label":"read_only"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://app.everruns.com/api/v1/virtual-users/example/mcp-servers/example/tools/example/label \ --header 'Content-Type: application/json' \ --data '{ "label": "read_only" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”identity_id
required
string
me or a virtual user id
server_id
required
string
tool_name
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “ Responses ”Success
Media typeapplication/json
One tool an MCP server offers, with its saved risk label.
object
annotations
description
What the tool does, as the server describes it.
string | null
label
name
required
The tool’s own name on the MCP server.
string
suggested_label
title
Human-readable title the server gives the tool.
string | null
Example
{ "label": "read_only", "name": "search_docs", "suggested_label": "read_only"}Server was added from the catalog
Authentication required
Permission denied
Server or tool not found