get_mock_by_slug
Retrieve the complete configuration of a single mock API endpoint directly by its unique slugId (e.g. 'MOCK-5cbb91d3') without needing projectId or mockId. Returns the full mock object including default response, headers, rules array (with each rule's id and slugId), stateful expressions, webhook config, and ready-to-use mockUrl. Use this when the user shares a MOCK-xxxxxxxx badge from the Simceptor UI.
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": {
"slugId": "<slugId>"
},
"name": "get_mock_by_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugId | Yes | The unique mock slug ID copied from the Simceptor UI badge (e.g. 'MOCK-5cbb91d3'). |