Test Smart Mock
test_smart_mockTest Smart Mock matching for a given field name. Returns which matching rule would apply and what value it would generate. Useful for verifying Smart Mock configuration before generating rules. Requires project context (call set_context first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldName | Yes | The field name to test matching for (e.g., 'email', 'firstName', 'createdAt') | |
| schemaType | No | Optional JSON Schema type hint (e.g., 'string', 'integer', 'number', 'boolean') | |
| mockServerId | Yes | The public Id (Guid) of the mock server | |
| schemaFormat | No | Optional JSON Schema format hint (e.g., 'date-time', 'email', 'uri', 'uuid') |