Skip to main content

Call Destructive Tool

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEportal.call_destructive_tool
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: portal-agent-contract-v2-2026.07.12.1
  • Descriptor hash: 726de3a31f84aabe0513d47402f21372a54a2e8d2b1d87a201702900578ea939

Execute one destructive tool with its token and exact confirmation phrase.

Request Body

{
"jsonrpc": "2.0",
"id": "portal-call-destructive-tool-example",
"method": "tools/call",
"params": {
"name": "portal.call_destructive_tool",
"arguments": {
"serviceId": "serviceId_123",
"toolName": "toolName_example",
"arguments": {},
"previewToken": "previewToken_example",
"confirmation": "confirmation_example",
"profileId": "profileId_123",
"profileSlug": "profileSlug_example"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"serviceId",
"toolName",
"arguments",
"previewToken",
"confirmation"
],
"properties": {
"toolName": {
"type": "string",
"description": "Catalog tool name."
},
"arguments": {
"type": "object",
"description": "Arguments matching the tool schema.",
"additionalProperties": true
},
"profileId": {
"type": "string",
"description": "Optional Stripe/GHL profile id."
},
"serviceId": {
"type": "string",
"description": "Configured service id."
},
"profileSlug": {
"type": "string",
"description": "Optional Stripe/GHL profile slug."
},
"confirmation": {
"type": "string",
"description": "Exact destructive confirmation phrase."
},
"previewToken": {
"type": "string",
"description": "Matching unexpired preview token."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"serviceId",
"toolName",
"traceId",
"summary",
"data",
"resource",
"pagination",
"nextAction",
"error"
],
"properties": {
"ok": {
"type": "boolean"
},
"data": {
"description": "Tool result."
},
"error": {
"type": [
"object",
"null"
]
},
"summary": {
"type": "string"
},
"traceId": {
"type": "string"
},
"resource": {
"type": [
"object",
"null"
]
},
"toolName": {
"type": "string"
},
"serviceId": {
"type": "string"
},
"nextAction": {
"type": [
"string",
"null"
]
},
"pagination": {
"type": [
"object",
"null"
]
}
},
"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": "portal-call-destructive-tool-example",
"method": "tools/call",
"params": {
"name": "portal.call_destructive_tool",
"arguments": {
"serviceId": "serviceId_123",
"toolName": "toolName_example",
"arguments": {},
"previewToken": "previewToken_example",
"confirmation": "confirmation_example",
"profileId": "profileId_123",
"profileSlug": "profileSlug_example"
}
}
}'

Example Responses

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