List Mock Rules
list_mock_rulesRetrieve paginated mock rules for a mock server, ordered by priority, with path pattern, method, status code, and active status. Requires project context first.
Instructions
List all mock rules for a mock server with pagination. Returns rules sorted by priority (lower = higher precedence) with path pattern, method, status code, and active status. Requires project context (call set_context first).
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": {
"mockServerId": "<mockServerId>"
},
"name": "list_mock_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of rules to skip (for pagination, default 0) | |
| take | No | Number of rules to return (default 50, max 100) | |
| mockServerId | Yes | The public Id (Guid) of the mock server |