Skip to content

Update MCP tool

PATCH
/api/v1/workspaces/{workspace_id}/mcp_servers/{mcp_server_id}/mcp_server_tools/{id}

Updates a single MCP tool by ID.

workspace_id
required
integer

Workspace ID

mcp_server_id
required
integer

MCP Server ID

id
required
integer

MCP Tool ID

object
enabled
boolean

Successful

object
id
required
integer
Example
12345
name
required
string
Example
Shopify
description
required
string
Example
Shopify API
enabled
required
boolean
Example
true
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z

Unauthorized

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}