create_mock
Create a new mock response file on the Mockery server, generating missing directories and auto-committing in Git mode.
Instructions
Create a new mock file on the Mockery server. Creates directories if they don't exist. In Git mode, the file is automatically committed and pushed.
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>",
"content": "<content>"
},
"name": "create_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path including filename (e.g., "weather/prod/success.json", "Products/newItem.json"). | |
| content | Yes | File content (JSON, HTML, XML, text, etc.). |