Handle named MCP gateway protocol requests
pc_post_tool_gateway_gateways_by_gateway_id_mcpPost MCP protocol requests to a gateway by its ID. Enables named gateway operations through the Paperclip API.
Instructions
Handle named MCP gateway protocol requests
Paperclip operation: POST /api/tool-gateway/gateways/{gatewayId}/mcp. Authorization class: public.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"body": "<body>"
},
"name": "pc_post_tool_gateway_gateways_by_gateway_id_mcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |