ToolsUpdate tool
Tools

Update tool

Update tool metadata such as display name, description, or enabled state.

curl -X PATCH "https://api.mythic-analytics.com/api/v1/mcp/tools/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "display_name": "John Doe",
  "description": "example_string",
  "enabled": true
}'
{
  "success": true,
  "data": {
    "id": "tool_3xL7nBcD",
    "server_id": "srv_5kN2mPqR",
    "name": "query_analytics",
    "display_name": "Query Analytics Data",
    "description": "Execute analytics queries against client data.",
    "enabled": true,
    "input_schema": {},
    "created_at": "2024-04-01T10:00:00.000Z"
  }
}
PATCH
/mcp/tools/{id}
PATCH
Security Scheme
Bearer Tokenstring
Required

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY
path
idstring
Required

MCP tool identifier.

Content-Typestring
Required

The media type of the request body

Options: application/json
display_namestring

Custom display name override.

descriptionstring

Custom description override.

enabledboolean

Whether the tool is available for use.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Path Parameters

idstring
Required

MCP tool identifier.

Body

application/json
display_namestring

Custom display name override.

descriptionstring

Custom description override.

enabledboolean

Whether the tool is available for use.

Responses

successboolean
dataobject