Preview Smart Mock
preview_smart_mockRender a response body template with {{faker.*}} placeholders replaced by generated values from the active project's Smart Mock settings, so you can validate the output before saving it on a rule.
Instructions
Render a response body template with its {{faker.*}} placeholders replaced by generated values, using the active project's Smart Mock settings. Use this to check a template before saving it on a rule. Requires project context.
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": {
"responseBody": "<responseBody>"
},
"name": "preview_smart_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responseBody | Yes | The response body template containing {{faker.*}} placeholders |