Publish a mock server
publishMockPublish a Postman mock server to make it publicly accessible via its Access Control setting. Enables external sharing of API mocks.
Instructions
Publishes a mock server. Publishing a mock server sets its Access Control configuration setting to 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": {
"mockId": "<mockId>"
},
"name": "publishMock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mockId | Yes | The mock's ID. |