WorkLensDocs
    Studio

    Docs index

    66 pages in 12 sections. A section appears here as soon as it has a landing page, so this list is never ahead of the docs.

    WorkLens Docs (home)

    Getting started

    Build data

    Recipes

    A recipe describes what data WorkLens should generate: entities, fields, rules and links, in one JSON file you keep in git.

    EntitiesHow a recipe declares its tables — name, row count, fields, and the table-level constructs that shape whole rows.Fields & typesEvery field key a recipe accepts, the 20 value types the engine generates, and how a field declares a checksum-valid identifier.RelationshipsHow tables point at each other — ref, scope and fanout on a field, and the relationship kinds a recipe can declare.Rules & constraintsWhat must hold on every row — ranges, uniqueness, date order, conditional presence, and constraints across columns.Derived fieldsColumns worked out from other columns — same-row arithmetic, totals from a child table, and roll-ups through a hierarchy.ScenariosOne recipe, many datasets — named scenarios set rates for nulls, orphans, duplicates and other conditions; 21 archetypes to choose from.

    Trust

    Developers

    AI + WorkLens MCP

    Turn an AI request into deterministic test data: the agent drafts and runs the recipe over MCP, the engine stays on your machine.

    SetupConnect WorkLens to ChatGPT, Claude, Cursor, VS Code, Claude Desktop or Claude Code: the studio's Connect to AI panel, a config entry, or the hosted connector.Tool directoryAll 13 tools the WorkLens MCP server exposes, grouped by the step they belong to, generated from the published contracts.Usage examplesA real request for each MCP tool, taken from the published contract examples rather than written for the page.Resources & promptsThe 6 guide resources and 3 prompts the server publishes beside its tools, so an agent can read before it drafts.get_recipe_schemaThe recipe (GraphModel) authoring guide: JSON shape, every engine field type, FK conventions, rules and a working example. Call this FIRST, WITH A plan of…derive_graphInfer a data-free recipe (entity types, relationships) from a real sample file. Pass the file as base64. Use before generating relationship-preserving…analyse_openapiAnalyse an OpenAPI 3.x / Swagger 2.0 spec (JSON string) and preview what a WorkLens import would produce: object entities with field counts and ref lists,…validate_recipeValidate an agent-drafted recipe before generating: structural checks, then a 1-row engine dry-run, then manifest.requires[] against the packs registered on…plan_packsTurn a recipe into a pack requirement plan — and read the shelf off it: which packs are needed, which of those a pack on this machine already resolves (name,…register_packHand a pack you drafted back to the engine so generation can use it — a locale pack (datasets for a region) or a rule fragment (one type_def or one…generate_from_graphGenerate every entity from a recipe with cross-entity foreign-key integrity. Use with a recipe validate_recipe accepts (yours, or one from derive_graph). By…generate_synthetic_dataGenerate realistic synthetic data from a recipe JSON. A recipe with several tables generates every table and replies like generate_from_graph (tables[] plus a…score_realismDoes the generated data have the shape of a REAL sample? Compares column kinds, blank rates, variety and magnitudes, never values. Pass the sample's path on…verify_worldCheck that a company file and the job files pointing at it still agree. Each job file is validated ALONE, so the two facts it cannot know go unchecked: how…sample_worldGenerate a SMALL world (120 rows) and report what to check BEFORE paying for a large run. Catches what every other check passes: a declaration that is…prove_recipeReturn the full proof for a recipe as DATA (schema worklens.proof.v2): consistency, privacy, independent property verification and a tamper-evident receipt,…check_privacyAnswer both privacy questions together: privacy scores the OUTPUT (re-identification risk, k-anonymity), leaks scores the RECIPE ITSELF (a real value pasted…
    CLI

    Use WorkLens directly from your terminal: check a recipe, generate data, prove a run, or bundle the whole thing — all local.

    Learn

    Reference