Skip to main content

Ghl Opportunities Destructive

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEghl.ghl_opportunities_destructive
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 5075ffa58a198aea15ab665af670be4370e6a7df928468f8fe36003fed056e40

Call destructive raw GHL tools that can delete, remove, cancel, void, or disconnect data in the GHL Opportunities category. Opportunity, pipeline, stage, status, and opportunity follower tools. First use ghl_list_category_tools and ghl_get_tool_reference to choose a raw tool and inspect its schema. Pass the raw tool name in toolName and its parameters in arguments. Compatibility: raw tool parameters supplied beside toolName are also forwarded, but nested arguments take precedence.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-opportunities-destructive-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_opportunities_destructive",
"arguments": {
"toolName": "toolName_example",
"tenantId": "tenantId_123",
"arguments": {},
"locationId": "locationId_123",
"confirmApply": "confirmApply_example",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"toolName"
],
"properties": {
"tenantId": {
"type": "string",
"description": "Optional tenant ID override for non-runtime local deployments."
},
"toolName": {
"type": "string",
"description": "Raw Opportunities tool name to execute."
},
"arguments": {
"type": "object",
"description": "Arguments for the selected raw tool. Use ghl_get_tool_reference to inspect the schema before calling.",
"additionalProperties": true
},
"locationId": {
"type": "string",
"description": "Optional location ID for route validation. In public runtime mode, the runtime header location wins."
},
"confirmApply": {
"type": "string",
"description": "Set exactly to \"CONFIRM APPLY\" when intentionally executing a destructive raw tool."
},
"strictTenant": {
"type": "boolean",
"description": "When true, require tenantId to match locationId routing."
}
},
"additionalProperties": true
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-ghl-opportunities-destructive-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_opportunities_destructive",
"arguments": {
"toolName": "toolName_example",
"tenantId": "tenantId_123",
"arguments": {},
"locationId": "locationId_123",
"confirmApply": "confirmApply_example",
"strictTenant": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.ghl_opportunities_destructive executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}