Skip to main content

Preview Tool Call

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READportal.preview_tool_call
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: portal-agent-contract-v2-2026.07.12.1
  • Descriptor hash: 74f54782485ee98356d38229fd3db500c75528ecc9b9042b8dd00b45c1f44141

Validate configuration, schema, risk, and confirmation; sign a 10-minute write token.

Request Body

{
"jsonrpc": "2.0",
"id": "portal-preview-tool-call-example",
"method": "tools/call",
"params": {
"name": "portal.preview_tool_call",
"arguments": {
"serviceId": "serviceId_123",
"toolName": "toolName_example",
"arguments": {},
"profileId": "profileId_123",
"profileSlug": "profileSlug_example"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"serviceId",
"toolName",
"arguments"
],
"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."
}
},
"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-preview-tool-call-example",
"method": "tools/call",
"params": {
"name": "portal.preview_tool_call",
"arguments": {
"serviceId": "serviceId_123",
"toolName": "toolName_example",
"arguments": {},
"profileId": "profileId_123",
"profileSlug": "profileSlug_example"
}
}
}'

Example Responses

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