how_to_mock_slice
Generate a validated slice mock (mocks.json) covering all variations, with guidance for text-only refinements based on user intent.
Instructions
PURPOSE: Generate a model-valid slice mock (mocks.json) and provide guidance for text-only refinements.
USAGE: Use when creating or updating slice mocks.
RETURNS: A JSON mock covering all variations, plus guidance for text-only refinements.
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": {
"sliceMachineConfigAbsolutePath": "<sliceMachineConfigAbsolutePath>",
"sliceDirectoryAbsolutePath": "<sliceDirectoryAbsolutePath>",
"userIntent": "<userIntent>"
},
"name": "how_to_mock_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sliceMachineConfigAbsolutePath | Yes | Absolute path to 'slicemachine.config.json' file | |
| sliceDirectoryAbsolutePath | Yes | Absolute path to the slice directory (contains model.json) | |
| userIntent | Yes | User-provided guidance describing desired mock changes, tone, quantities, constraints |