Plan a dataset
plan_datasetSee the tables, sizes and relationships the engine would build, before any rows exist. Free (no
rows are made), so it is worth calling before generate_dataset on anything non-trivial: review
what it understood and assumed, then adjust your request or schema before spending a real call.
Args:
request: Plain-English description (needs an LLM key, unless `schema`/`ddl` is also given —
then it is still used to ground realism, e.g. locale and what columns mean).
schema: A Misata schema dict (see the server instructions for the format). No key needed for
structure.
ddl: CREATE TABLE statements. No key needed for structure.
Returns:
route: "chat" (not a dataset request — see `reply`), "design" (the model designed the
tables) or "pack" (matched a built-in shape).
tables: name, estimated rows, columns, foreign keys for each table the engine would build.
understanding: what the engine read the request as (business, archetype, assumptions).
requirements: every specific thing the request asked for, so you can see what was understood.
With a schema or ddl, also: numbers (each stated number it read), window, as_of (the data's last day),
rows (each table's size), planned (the sizes the numbers set, with why), held and set_aside (each
number the build will hold, or set aside with the reason).
over_cap: with a schema or ddl whose sizes pass this connection's row cap, that generate_dataset refuses it
and how to size it under the cap.
cannot_hold: numbers the request states that no rows can hold together (a rate past 100%, parts adding up
past their whole), each in plain words with what to write instead; generate_dataset refuses
the request as written until they are changed (say_so_plainly says so).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | No | ||
| schema | No | ||
| request | No |