{"at":"2026-11-23T00:48:31.458Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:48:31.883Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:48:31.984Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:48:32.366Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Use these tools whenever someone needs test data, fixtures, seed data, mock or synthetic records — CSV, JSON, SQL inserts or any text format — instead of writing a generator script or typing the data. TDCv2 makes the rows from a small .tdc config, on this machine, and the same config gives the same file every time. Start with tdc_read_docs (the guide, once per session), then tdc_find_packs for real-world values (tdc_pack_add installs a missing language or country), tdc_check until clean, and tdc_generate to preview rows or write the file. Hand over the config with the data; keep count and seed inside <env> so it reproduces the file. If the TDCv2 skill is loaded too, these tools are its steps: its `npx -y tdcv2@0.4.0 …` commands and these tools run the same engine — use either, the tools where there is no terminal.","protocolVersion":"2025-11-25","serverInfo":{"name":"tdcv2","version":"0.4.0"}}}}
{"at":"2026-11-23T00:48:32.366Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:48:32.366Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:48:32.373Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Validate a .tdc config without generating anything. Returns every diagnostic with its code, line, column, hint and \"did you mean\" suggestion, plus warnings and whether a seed is set. Run it until the config is clean.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"config":{"description":"The .tdc config text. Give this or `path`.","type":"string"},"path":{"description":"A .tdc file, relative to the project folder. Give this or `config`.","type":"string"}},"type":"object"},"name":"tdc_check","title":"Check a TDCv2 config"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Make test data — CSV, JSON, SQL, any text — from a .tdc config, instead of writing a generator script. Without `output`: renders in memory and returns the first `preview` lines (max 50) — nothing is written. With `output`: writes the whole file inside the project folder and returns its size, a per-column summary and the first lines. A failed <assert> comes back as row, message, condition and values, so the config can be fixed. Same config and seed give the same bytes every time.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"config":{"description":"The .tdc config text. Give this or `path`.","type":"string"},"count":{"description":"Override <env count> for this run. For the delivered file keep count in the config instead.","maximum":9007199254740991,"minimum":0,"type":"integer"},"output":{"description":"File to write, relative to the project folder. Omit to preview only.","type":"string"},"path":{"description":"A .tdc file, relative to the project folder. Give this or `config`.","type":"string"},"preview":{"description":"Lines to return (default 10, max 50).","maximum":50,"minimum":0,"type":"integer"},"seed":{"description":"Override <env seed> for this run. For the delivered file keep seed in the config instead.","type":"string"}},"type":"object"},"name":"tdc_generate","title":"Generate data from a TDCv2 config"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Search the data packs installed on this machine by words (\"last name\", \"iban\", \"city\") — the paths to write in <gen type=\"template\" value=\"…\"/>. Never guess a path; ask this. Returns path, the locales that have it, and what it holds (never the values).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"At most this many results (default 15).","maximum":30,"minimum":1,"type":"integer"},"locale":{"description":"Only packs for this locale, e.g. \"fr\". Says how to install it if missing.","type":"string"},"query":{"description":"Words to look for, English works best: \"last name\", \"email\", \"country\".","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"tdc_find_packs","title":"Find TDCv2 data packs"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Install data packs for other languages and countries — \"fr\", \"de\", \"ja\", \"france\", \"brazil\" — when tdc_find_packs says a locale is missing. Runs `tdcv2 pack add` of the engine this project uses, which downloads the packs from the public TDCv2 pack registry. In a project without a pack store it first runs `tdcv2 init --yes`, which writes tdcv2.config.json and a tdcv2-packs/ folder there (engines before --no-examples also add a few tdcv2-examples/ files).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"ids":{"description":"Pack ids: a language (\"fr\", \"pt\", \"zh-cn\") or a country (\"france\", \"brazil\", \"united_kingdom\").","items":{"minLength":1,"type":"string"},"minItems":1,"type":"array"}},"required":["ids"],"type":"object"},"name":"tdc_pack_add","title":"Install TDCv2 data packs"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"A short summary of a CSV, JSON or SQL file in the project: row count; per column the distinct values, the split, the range; INSERT rows per table. The proof that a file holds what was asked, without reading it all.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"column":{"description":"One column in full (up to 50 values with counts).","type":"string"},"path":{"description":"The file, relative to the project folder.","type":"string"},"rows":{"description":"Sample rows to include (default 3).","maximum":10,"minimum":0,"type":"integer"}},"required":["path"],"type":"object"},"name":"tdc_peek","title":"Summarise a generated file"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Start here when asked for test data, fixtures or seed data: the TDCv2 guide (\"guide\" — read it before the first config), traps check does not catch (\"traps\"), using the data from test code in five languages (\"from-code\"), several linked tables in one file (\"linked-tables\"), the list of reference pages (\"index\"), or one reference page such as \"generators/date\". `query` searches the page list.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"offset":{"description":"For long pages: continue from this character.","maximum":9007199254740991,"minimum":0,"type":"integer"},"page":{"description":"guide | traps | from-code | linked-tables | index | a reference path like generators/date. Default: guide.","type":"string"},"query":{"description":"Words to find in the page list instead of opening a page.","type":"string"}},"type":"object"},"name":"tdc_read_docs","title":"Read the TDCv2 guide and reference"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Pretty-print a .tdc config the way `tdcv2 format` does. Returns the text unchanged if it does not parse.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"config":{"description":"The .tdc config text.","type":"string"}},"required":["config"],"type":"object"},"name":"tdc_format","title":"Format a TDCv2 config"}]}}}
