Skip to main content
POST
Add tool approval

Notes

  • Adds tool approval configuration for a server

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

mcpServerId
string
required

MCP server ID

Example:

"mcp_8c180796-e6d7-4343-88b5-5df0846fef69"

Body

application/json
tool_name
string
required

Tool name

approval_hash
string
required

Approval hash

auto_approve
boolean
required

Whether to auto-approve

approval_conditions
object

Response

Tool approval added successfully

message
string
status
string
error
string | null
data
object