{"version":"1.13.0","generatedAt":"2026-11-23T10:43:29.326Z","endpoint":"https://api.show-real.com/mcp","sandbox":{"endpoint":"https://api.show-real.com/mcp/sandbox","auth":"none — send X-Agent-Id: <your agent name>, or append ?agent=<name> to the URL when your client cannot set headers (claude.ai / ChatGPT connectors; the IP fallback is unreliable for cloud clients); projects and links expire after 24 h","plan":"sandbox"},"protocol":"MCP Streamable HTTP 2025-06-18 (JSON responses, no sessions)","auth":"Authorization: Bearer t3d_… (create keys in the app: Settings → MCP · API keys)","coordinates":"Tangibl3D (t3d_*): left-handed, X right, Y up (ground y=0), Z depth, meters · 2Dream (d2_*): millimetres, origin top-left, y down; pt for strokes and fonts","apps":{"tangibl3d":"t3d_* tools","2dream":"d2_* tools — vector & page layout, editor at https://2dream.studio"},"tools":[{"name":"t3d_scene_list","description":"List the user's Tangibl3D projects (id, title, mesh type, last change, editor link).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"t3d_scene_create","description":"Create a new empty project. meshType softedge = Doo-Sabin subdivision (organic, smooth), hardedge = exact polymesh (CAD-like).","inputSchema":{"type":"object","properties":{"title":{"type":"string"},"meshType":{"enum":["softedge","hardedge"]},"brief":{"type":"string","description":"What the scene is for and what you are about to build — the request in one or two sentences. Stored with the project; t3d_scene_describe returns it."}},"required":["title"],"additionalProperties":false}},{"name":"t3d_scene_describe","description":"Compact scene description: objects with index, name, type, face/vertex counts, bounding box (meters), dominant colour, closedness. Call after every change to learn the current indices.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_scene_check","description":"Automatic quality check of a scene: score 0–100 with flags — generic names (\"Object 3\"), objects made of many disconnected pieces (one object per thing!), open Doo-Sabin cages, size outliers (> 300 m or < 3 mm), objects below the ground. Call it when a build is complete and fix what it flags.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_scene_brief","description":"Set or update the project brief: what the scene is for and what is being built (the request in one or two sentences). Stored with the project; t3d_scene_describe returns it. Set it when you start work on a scene that has none.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"brief":{"type":"string"}},"required":["project","brief"],"additionalProperties":false}},{"name":"t3d_object_add","description":"Add objects from recipes (no vertex lists needed). Recipes: box{center,size} · sphere{center,diameter,res} · torus{center,ringRadius,tubeRadius,axis} · cylinder{center,radius,height,sides} · lathe{position,profile:[[radius,height],…] bottom to top,segments} · prism{position,points:[[x,z],…],height}. Each part may carry name and color [r,g,b] — every part becomes its own object: ONE object per thing, named (\"Chair 03\", \"Lamp kitchen\"); the same thing several times = build it once, then t3d_object_clone. softedge=true creates Doo-Sabin cages (rounded), otherwise hard-edge polymeshes. Coordinates: X right, Y up (ground y=0), Z depth, meters.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"parts":{"type":"array","minItems":1,"maxItems":60,"items":{"type":"object","properties":{"kind":{"enum":["box","sphere","torus","cylinder","lathe","prism"]},"name":{"type":"string"},"color":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},"center":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"position":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"size":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"diameter":{"type":"number"},"res":{"type":"integer"},"ringRadius":{"type":"number"},"tubeRadius":{"type":"number"},"axis":{"enum":["x","y","z"]},"segU":{"type":"integer"},"segV":{"type":"integer"},"radius":{"type":"number"},"height":{"type":"number"},"sides":{"type":"integer"},"profile":{"type":"array","items":{"type":"array","items":{"type":"number"}}},"segments":{"type":"integer"},"points":{"type":"array","items":{"type":"array","items":{"type":"number"}}}},"required":["kind"]}},"softedge":{"type":"boolean"}},"required":["project","parts"],"additionalProperties":false}},{"name":"t3d_object_transform","description":"Move, scale (about its centre) and/or rotate (degrees, about its centre) an object. Order: scale → rotate → translate.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"translate":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"scale":{"oneOf":[{"type":"number"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}]},"rotate":{"type":"object","properties":{"axis":{"enum":["x","y","z"]},"deg":{"type":"number"}},"required":["axis","deg"]}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_object_delete","description":"Remove an object from the scene.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_object_color","description":"Set a colour on the whole object or on selected faces (0-based face indices).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"color":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},"faces":{"type":"array","items":{"type":"integer"}}},"required":["project","object","color"],"additionalProperties":false}},{"name":"t3d_object_clone","description":"Copy one object (or an assembly of objects) several times — the way to place the same thing many times as separate named objects (thirty loungers = one lounger + 29 clones), never one mesh with thirty pieces. copies[] = one entry per copy: translate [x,y,z] m from the original position, optional rotate {axis, deg} about the copy centre, scale, name; or count + step [x,y,z] for a row (copy k is moved by k·step). Names count on by themselves (\"Lounger 01\" → \"Lounger 02\", \"Lounger 01 cushion\" → \"Lounger 02 cushion\") and stay unique. objects[] clones an assembly together (frame + cushion); if the originals share a group, every copy gets its own group.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"objects":{"type":"array","items":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"maxItems":20,"description":"assembly: several objects cloned together with the same placements"},"copies":{"type":"array","maxItems":60,"items":{"type":"object","properties":{"name":{"type":"string"},"translate":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"rotate":{"type":"object","properties":{"axis":{"enum":["x","y","z"]},"deg":{"type":"number"}},"required":["axis","deg"]},"scale":{"type":"number","minimum":0.01,"maximum":100}}}},"count":{"type":"integer","minimum":1,"maximum":60},"step":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}},"required":["project"],"additionalProperties":false}},{"name":"t3d_object_split","description":"Cut a merged mesh into separate named objects — the repair for \"one object holding thirty things\". mode clusters (default): disconnected pieces whose bounding boxes touch (within gap_m, default 0.05) stay together, so a lounger keeps its cushion and a window frame its four bars; mode islands: every disconnected piece becomes an object. Parts are numbered from the largest (\"<prefix> 01\", \"<prefix> 02\", …; names[] overrides); colours, materials and face tags travel with their faces; the original object is replaced. group:true keeps all parts in one named group (a click selects the whole set in the editor). Refuses more than max_parts (default 60, max 200) — use clusters with a larger gap_m, or raise max_parts.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"mode":{"enum":["clusters","islands"]},"gap_m":{"type":"number","minimum":0,"maximum":5},"name_prefix":{"type":"string"},"names":{"type":"array","items":{"type":"string"},"maxItems":200},"max_parts":{"type":"integer","minimum":2,"maximum":200},"group":{"type":"boolean"}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_rig_set","description":"Rigged characters (t3d_scene_describe → rig lists bones and clips): choose which motion clip plays and how. clip = a name from the rig list (case-insensitive, substring ok). In the shared link the clip starts by itself while autoplay is on (the default); loop and speed apply in the editor and in the link; in_place removes the clip's positional offset so the figure stays where it stands. Clips are not on the timeline yet — one clip per figure, set here or in the editor panel \"Figur · Bewegung\".","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"clip":{"type":"string"},"autoplay":{"type":"boolean"},"loop":{"type":"boolean"},"speed":{"type":"number","minimum":0.1,"maximum":4},"in_place":{"type":"boolean"}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_object_group","description":"Name a set of objects as one assembly (a lounger = frame + cushion, a window = frame + glass, a car = body + wheels): in the editor a click selects the whole group while every member keeps its own colour, material and animation track. At least two objects; an object belongs to one group only (it moves to the new one). ungroup:true dissolves the group(s) that contain the given objects.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"name":{"type":"string"},"objects":{"type":"array","items":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"minItems":1,"maxItems":100},"ungroup":{"type":"boolean"}},"required":["project","objects"],"additionalProperties":false}},{"name":"t3d_mesh_extrude","description":"Extrude faces along their normals (a connected selection is extruded as one region). Height ≈ average edge length; offset moves the new cap faces further (negative = intrude). Returns the new cap face indices, ready for the next extrude.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1},"offset":{"type":"number"}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_mesh_collapse","description":"Collapse faces to a single point — removes material while the mesh stays closed (use instead of deleting faces).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_mesh_heal","description":"Close all open borders / holes of an object (n-gon caps, large holes as a star fill).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_mesh_subdivide","description":"Set the Doo-Sabin smoothing level (0–4) of an object; converts a hard-edge object into softedge.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"level":{"type":"integer","minimum":0,"maximum":4}},"required":["project","object","level"],"additionalProperties":false}},{"name":"t3d_howto","description":"How to model in Tangibl3D — read once before building: Doo-Sabin cages, soft shapes by extrude + squeeze, the 3D turtle (t3d_turtle), joints (bridge / merge: closing rings, joining parts, repairs), materials and real-scale tiling, recipes, animation (scenes and keyframes, camera rides by keyframes or along a path, control paths, events, clickable objects, the shared-link player). topic: overview | objects (one object per thing, naming, clone / group / split) | doo-sabin | turtle | joints | materials | recipes | animation (default overview).","inputSchema":{"type":"object","properties":{"topic":{"enum":["overview","doo-sabin","turtle","joints","animation","objects","materials","recipes"]}},"required":[],"additionalProperties":false}},{"name":"t3d_object_faces","description":"List faces of an object with centre, outward normal and area (metres) — the way to find the face to grow from. Filters: facing (up | down | left | right | front | back | +x … -z or a direction vector [x,y,z]; keeps faces within ~53° of it, best first), largest (n biggest), near [x,y,z] (closest first). At most `limit` faces (default 40). Axes: X right, Y up, Z depth (front = -Z).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"facing":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}]},"largest":{"type":"integer","minimum":1,"maximum":200},"near":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"limit":{"type":"integer","minimum":1,"maximum":400}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_face_transform","description":"The control gizmo on a face selection without extruding: move (world vector, m), alongNormal (m, + out / − in), scale (number or [sx,sy,sz] about the selection centre — < 1 squeezes), rotate {axis: x | y | z | normal | [x,y,z], deg} about the selection centre. Order: scale → rotate → alongNormal → move. Shared vertices drag the neighbouring faces along — that is what makes soft transitions. Returns the selection's new centre and normal.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1},"move":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"alongNormal":{"type":"number"},"scale":{"oneOf":[{"type":"number"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}]},"rotate":{"type":"object","properties":{"axis":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}]},"deg":{"type":"number"}},"required":["deg"]}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_turtle","description":"The 3D turtle — grow a shape step by step from a face selection (the head; its normal is the heading). One step: extrude the head forward by distance (m; default = the head's radius), scale the new cap about its centre (< 1 squeeze = rounded ends and tips, > 1 flare), then turn it: pitch bends the heading in the vertical plane (+ = nose down toward world −Y, − = nose up; a vertical head bends over toward −Z with +), yaw turns it sideways about the head's up axis, roll twists about the heading; slide {right, up} offsets the cap sideways (m). Read the returned heading and flip a sign if you turned the wrong way. The next step extrudes along the NEW heading, so repeated turns draw arcs: a 90° elbow = {pitch: 15, repeat: 6}. Returns the new head faces (pass them to the next call), its centre and heading. Within one call the frame is carried along step by step, so arcs continue past vertical (closed ring: tilt the start cap 15° with t3d_face_transform rotate, then {distance, pitch 15, repeat 23}, then t3d_mesh_merge head with start face). Keep the object softedge and set level 2 at the end — this extrude / squeeze / turn chain is how soft bottles, horns, pipes, handles and branches are modelled here (t3d_howto turtle).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1},"distance":{"type":"number","minimum":0},"scale":{"type":"number","minimum":0.02,"maximum":20},"pitch":{"type":"number"},"yaw":{"type":"number"},"roll":{"type":"number"},"slide":{"type":"object","properties":{"right":{"type":"number"},"up":{"type":"number"}}},"repeat":{"type":"integer","minimum":1,"maximum":24}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_material_list","description":"Finishes (PBR base materials) and the texture library of Tangibl3D with typical real-world tile sizes (realTile_m), plus how tiling works. Use the ids with t3d_object_material.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"t3d_object_material","description":"Set the material of an object: finish (standard | kunststoff | keramik | beton | silber | alu | gold | glas), library = texture id from t3d_material_list (or \"none\" to remove the texture), tileSize_m = real-world size of one texture repeat in metres (default: the library's typical size; tileSizeV_m for the second axis, angle_deg rotates the projection), color (hex or [r,g,b]) tints the base, brightness (0.2–2), reflectivity (0–1), transparency (0–1). Materials are per object; per-face colours come from t3d_object_color and show only on untextured objects.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"finish":{"enum":["standard","kunststoff","keramik","beton","silber","alu","gold","glas"]},"library":{"type":"string"},"tileSize_m":{"type":"number","minimum":0.001},"tileSizeV_m":{"type":"number","minimum":0.001},"angle_deg":{"type":"number"},"color":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"}]},"brightness":{"type":"number","minimum":0.2,"maximum":2},"reflectivity":{"type":"number","minimum":0,"maximum":1},"transparency":{"type":"number","minimum":0,"maximum":1}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_mesh_bridge","description":"Bridge two faces with the same number of corners by a tunnel: both faces vanish and ONE new ring segment of quads joins their borders (Wings-style bridge). Within one object: faces [a, b] — a pipe through a block, the two ends of a bent turtle run → a closed ring; faces [a] alone picks the partner among the object's own faces. Across objects: faces [a] + with {object, face?} — the other object is merged into this one (its material and level are dropped) and face b is picked automatically when omitted (equal corners, facing a, nearest). Returns the new segment's face indices (shape them with t3d_face_transform), closed and a topology check (euler 2 = ball, 0 = ring/torus). Faces must not share corners.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1,"maxItems":2},"with":{"type":"object","properties":{"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"face":{"type":"integer"}},"required":["object"]}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_mesh_merge","description":"Merge two roughly opposite faces into a seamless joint: matching corners are moved together and welded, both faces disappear, no new segment — the two volumes become one closed body (the editor's dock-and-weld / connect). Within one object: faces [a, b] (close a ring: the head of a bent turtle run with its start face) or faces [a] (partner picked automatically). Across objects: faces [a] + with {object, face?, dock}: the other object is merged into this one and, with dock (default true), translated first so the face centres coincide. anchor: which corners stay put — a (default with `with`), b, or mid (default within one object: both faces meet halfway). Returns seamFaces (the ring of faces around the joint — e.g. t3d_face_transform scale < 1 on them makes a waist), closed and a topology check (euler 2 = ball, 0 = ring/torus). Faces need equal corner counts and must not share corners.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"faces":{"type":"array","items":{"type":"integer"},"minItems":1,"maxItems":2},"with":{"type":"object","properties":{"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"face":{"type":"integer"},"dock":{"type":"boolean"}},"required":["object"]},"anchor":{"enum":["a","b","mid"]}},"required":["project","object","faces"],"additionalProperties":false}},{"name":"t3d_anim_describe","description":"Everything about the animation of a project: scenes (timeline segments at 30 fps; frame 0 = the placement, frame 1 onwards animates) with their tracks (entry/exit effects, keyframes as offsets, path following), camera (static scene camera, camera keyframes or a camera-path ride), events, sounds and triggers; plus the named cameras (t3d_camera_add), control paths (t3d_path_add) and clickable objects (t3d_interact_set). Read it before changing an existing animation. Shared links (t3d_scene_share) play scene 1 in a loop; the player button sits bottom-left.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_anim_scene","description":"Create or edit an animation scene (a timeline segment). Without scene: scene 1 (created when none exists). duration_s = length (30 fps, default 5 s). camera = a named camera (t3d_camera_add) the scene starts from, or \"none\". depth 0–1 = perspective slider (0 ≈ flat / isometric look, 1 = full perspective). create:true adds a new scene; delete:true removes the scene with its tracks. Keep scenes 4–12 s; chain them with t3d_anim_event type scene.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"scene":{"type":"string"},"name":{"type":"string"},"duration_s":{"type":"number","minimum":0.1,"maximum":600},"camera":{"type":"string"},"depth":{"type":"number","minimum":0,"maximum":1},"create":{"type":"boolean"},"delete":{"type":"boolean"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_anim_track","description":"Animate one object in a scene. Frame 0 is the placement, so every key is an OFFSET from where the object stands: keys [{t_s, move [x,y,z] m, rotate_deg [x,y,z] about the object centre, scale, alpha 0–1, path_pos 0–1}], tweened linearly (fields you omit are carried over from the previous key). entry / exit {fx: fade | grow | flyL | flyR | flyT | flyB, at_s, dur_s} let the object appear / disappear (invisible before entry and after exit). path = name of a control path (t3d_path_add): the object centre follows it, path_pos 0 → 1 across the keys (without explicit keys: 0 at the start, 1 at the end); pathAlign (default true with a path) turns it into the direction of travel, vehicles steer. hide:true keeps it invisible for the whole scene. replaceKeys:true discards existing keys first; clear:true removes the track. Parametric groups (vehicle, watch, plant, eyewear) animate as ONE object — address the group driver (chassis / case).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"scene":{"type":"string"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"keys":{"type":"array","maxItems":200,"items":{"type":"object","properties":{"t_s":{"type":"number","minimum":0},"move":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"rotate_deg":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"scale":{"type":"number","minimum":0.001},"alpha":{"type":"number","minimum":0,"maximum":1},"path_pos":{"type":"number","minimum":0,"maximum":1}},"required":["t_s"]}},"entry":{"type":"object","properties":{"fx":{"enum":["none","fade","grow","flyL","flyR","flyT","flyB"]},"at_s":{"type":"number","minimum":0},"dur_s":{"type":"number","minimum":0}}},"exit":{"type":"object","properties":{"fx":{"enum":["none","fade","grow","flyL","flyR","flyT","flyB"]},"at_s":{"type":"number","minimum":0},"dur_s":{"type":"number","minimum":0}}},"path":{"type":"string"},"pathAlign":{"type":"boolean"},"hide":{"type":"boolean"},"replaceKeys":{"type":"boolean"},"clear":{"type":"boolean"}},"required":["project","object"],"additionalProperties":false}},{"name":"t3d_path_add","description":"Create a control path (a helper curve, drawn as a line in the editor) from points [[x,y,z],…] in metres. Objects follow it (t3d_anim_track path) and the camera rides along it (t3d_anim_camera path). smooth:true (default) rounds the curve through the points, false = straight segments; closed:true joins end to start (loops for turntables and round trips); flat:true keeps followers at their own height (only X/Z come from the path). Returns the path object — remove it like any object (t3d_object_delete).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"name":{"type":"string"},"points":{"type":"array","minItems":2,"maxItems":400,"items":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}},"closed":{"type":"boolean"},"smooth":{"type":"boolean"},"flat":{"type":"boolean"}},"required":["project","points"],"additionalProperties":false}},{"name":"t3d_camera_add","description":"Add or update a named camera (pos + target in metres, fov_deg default 46). Scenes start from it (t3d_anim_scene camera), clickable objects fly to it (t3d_interact_set cmd cam), ?play=click share links step through the cameras in order. Same name = update; delete:true removes it.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"name":{"type":"string"},"pos":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"target":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"fov_deg":{"type":"number","minimum":5,"maximum":150},"delete":{"type":"boolean"}},"required":["project","name"],"additionalProperties":false}},{"name":"t3d_anim_camera","description":"Camera ride of a scene — two ways. keys [{t_s, pos, target, fov_deg?}] = camera keyframes: a dolly A → B, a crane up, a slow push-in (2 keys), an orbit (6–9 keys around the object, last = first for a loop); keys replace the existing ones (replace:false merges by time). path {path: control path name, look: \"ahead\" | \"center\" | object name | [x,y,z], height_m, from 0–1, to 0–1, t0_s, t1_s} = the camera travels along a path (walkthrough looking ahead, fly-over, turntable on a closed circle looking at the centre). easing smooth (default: eases in and out) | linear. Keys win over a path when both exist; clear:true removes both. The ride plays in the editor timeline and in shared links (not in walk mode); a static start view is the scene camera (t3d_anim_scene camera).","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"scene":{"type":"string"},"keys":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"t_s":{"type":"number","minimum":0},"pos":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"target":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"fov_deg":{"type":"number","minimum":5,"maximum":150}},"required":["t_s","pos","target"]}},"path":{"type":"object","properties":{"path":{"type":"string"},"look":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3}]},"height_m":{"type":"number"},"from":{"type":"number","minimum":0,"maximum":1},"to":{"type":"number","minimum":0,"maximum":1},"t0_s":{"type":"number","minimum":0},"t1_s":{"type":"number","minimum":0}},"required":["path"]},"easing":{"enum":["smooth","linear"]},"replace":{"type":"boolean"},"clear":{"type":"boolean"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_interact_set","description":"Make an object clickable in the viewer (hot spot, button): cmd play (start the timeline) | stop | goto {target: label name} (jump to an event label and play) | scene {target: scene} | sound {fx} | url {url} | cam {camera: named camera → smooth camera flight} | vis {target: object → toggle its visibility} | light {target: light id or \"__ambient\"} | none (remove). Clicks work in shared links and in the editor preview.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"},"cmd":{"enum":["play","stop","goto","scene","sound","url","cam","vis","light","none"]},"target":{"type":"string"},"url":{"type":"string"},"fx":{"enum":["whoosh","swoosh","riser","drop","pop","click","blip","ding","chime","success","error","impact","boom","laser","shutter","typewriter"]},"camera":{"type":"string"}},"required":["project","object","cmd"],"additionalProperties":false}},{"name":"t3d_anim_event","description":"Timeline events of a scene: label {name} (a marker to jump to), goto {target: label} (jump while playing → loops), stop, scene {target: scene} (switch scene), prompt {text} (message overlay), sound {fx, vol} (procedural effects: whoosh, swoosh, riser, drop, pop, click, blip, ding, chime, success, error, impact, boom, laser, shutter, typewriter). add appends events at t_s; clear:true removes all events and sounds first.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"scene":{"type":"string"},"add":{"type":"array","maxItems":200,"items":{"type":"object","properties":{"t_s":{"type":"number","minimum":0},"type":{"enum":["label","goto","stop","scene","prompt","sound"]},"name":{"type":"string"},"target":{"type":"string"},"text":{"type":"string"},"fx":{"enum":["whoosh","swoosh","riser","drop","pop","click","blip","ding","chime","success","error","impact","boom","laser","shutter","typewriter"]},"vol":{"type":"number","minimum":0,"maximum":1}},"required":["t_s","type"]}},"clear":{"type":"boolean"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_avatar","description":"Avatar = start point of the first-person walk mode (Walk button in the player, ?nav=walk in the shared link): pos = feet on the floor, view direction as yaw_deg (0 = +Z, 90 = +X) or a look_at point, eye_height_m (default 1.7) and speed_mps (walking speed, default 2.0; Shift runs 2.8x). One avatar per project; the editor draws it as a mint figure with an orange view handle (helper layer, hidden in the player). Without an avatar the walk starts where the orbit camera stands. delete:true removes it. Returns the stored configuration.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"pos":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"feet position [x,y,z] in metres (y = floor level)"},"yaw_deg":{"type":"number","description":"view direction in degrees: 0 looks along +Z, 90 along +X"},"look_at":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3,"description":"point to face (sets the direction from pos)"},"eye_height_m":{"type":"number","minimum":0.3,"maximum":3},"speed_mps":{"type":"number","minimum":0.2,"maximum":20},"delete":{"type":"boolean"}},"required":["project"],"additionalProperties":false}},{"name":"t3d_blueprint_list","description":"Blueprint library: reference bodies with real-world dimensions from norms (car classes, cordless drill, office chair, fridge, ergonomic mannequin) — keys, question options, dimensions with ranges.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"t3d_blueprint_place","description":"Place a blueprint as reference bodies (semi-transparent helper objects to model around). params = answers to the questions (option ids), dims = overridden dimensions {ID: meters}, at = [x, z] on the ground.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"key":{"type":"string"},"params":{"type":"object","additionalProperties":{"type":"string"}},"dims":{"type":"object","additionalProperties":{"type":"number"}},"at":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}},"required":["project","key"],"additionalProperties":false}},{"name":"t3d_scene_share","description":"Create a public view-only link for the project (optionally expiring after N days) and configure its player. nav = start mode: orbit (default), spin (turntable), walk (first person, starts at the avatar from t3d_avatar). player: controls = visible control groups (omit = all; [] = bare scene without any chrome; otherwise a list of bar (header), menu (view menu top-left), gizmo (orientation ball), nav (orbit/spin/walk bar), view (edges/control mesh/grid/helper toggles), zoom (zoom-all / local view), info (info pins), hint (hint line), anim (play/pause/stop buttons)); autoplay (default true) starts the animation on open; click_cameras = each click flies to the next named camera; loop (default true; false = play once and hold the last frame — Stop resets, double-click Stop replays); grid = floor grid on; helpers = show control paths, camera/light gizmos and the avatar; lock = disable camera inputs in orbit/spin: rotate, zoom, pan, pinch (all four = fixed camera). The configuration is stored in the link as URL parameters (?nav, ?ui, ?play, ?loop, ?grid, ?helpers, ?lock) and the answer includes the iframe embed code. Presets: interactive = defaults; player = controls [\"anim\"], lock all four; thumbnail = controls [], nav spin.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"expiresDays":{"type":"integer","minimum":1,"maximum":3650},"nav":{"type":"string","enum":["orbit","spin","walk"]},"player":{"type":"object","properties":{"controls":{"type":"array","items":{"type":"string","enum":["bar","menu","gizmo","nav","view","zoom","info","hint","anim"]},"description":"visible control groups; omit = all, [] = none"},"autoplay":{"type":"boolean"},"click_cameras":{"type":"boolean"},"loop":{"type":"boolean"},"grid":{"type":"boolean"},"helpers":{"type":"boolean"},"lock":{"type":"array","items":{"type":"string","enum":["rotate","zoom","pan","pinch"]}}}}},"required":["project"],"additionalProperties":false}},{"name":"t3d_scene_import","description":"Import your own polygon meshes (verts [[x,y,z],…], faces [[i,j,k,…],…] 0-based, left-handed, Y up, metres) for geometry the recipes cannot express. ONE OBJECT PER THING (t3d_howto topic objects): a chair, a door, a window, a wheel is its own named object — never one mesh per material or layer that holds every item of that kind in the whole house. objects[] imports several named objects in one call (each with its own verts/faces, color and optional faceColors = [r,g,b] or null per face, so a lounger with a wooden frame and a linen cushion is one object with two colours). The answer reports islands (disconnected pieces) per object; more than one usually means merged things → t3d_object_split. The same thing many times: import it once, then t3d_object_clone.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"name":{"type":"string"},"verts":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"maxItems":20000},"faces":{"type":"array","items":{"type":"array","items":{"type":"integer"},"minItems":3}},"color":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},"faceColors":{"type":"array","items":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},{"type":"null"}]},"description":"colour per face ([r,g,b] or null), same order as faces"},"softedge":{"type":"boolean"},"objects":{"type":"array","maxItems":60,"description":"several named objects in one call — one per thing","items":{"type":"object","properties":{"name":{"type":"string"},"verts":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"maxItems":20000},"faces":{"type":"array","items":{"type":"array","items":{"type":"integer"},"minItems":3}},"color":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},"faceColors":{"type":"array","items":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"minItems":3,"maxItems":3,"description":"Colour [r,g,b] 0–255"},{"type":"null"}]}},"softedge":{"type":"boolean"}},"required":["name","verts","faces"]}}},"required":["project"],"additionalProperties":false}},{"name":"t3d_figure_library","description":"Humanoid figures, step 1 (optional): the motion library — about 680 clips such as \"Idle\", \"Casual Walk\", \"Punch Combo\", \"Funny Dancing 1\". Search by words from the name, filter by category (WalkAndRun, DailyActions, BodyMovements, Fighting, Dancing). Free. Pass the ids to t3d_figure_create (clips) — each clip costs 3 credits, at most 10 per request; ready-made packs (presets) are listed too. Needs the \"figure\" module on the account.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"words from the clip name, e.g. \"walk\", \"wave\", \"sword\""},"category":{"type":"string","enum":["WalkAndRun","DailyActions","BodyMovements","Fighting","Dancing"]},"limit":{"type":"integer","minimum":1,"maximum":150,"description":"default 40"}},"required":[],"additionalProperties":false}},{"name":"t3d_figure_create","description":"Humanoid figures, step 2: create a textured, rigged human/humanoid character from a text description (full body in T-pose, skeleton with 24 bones, skin weights) plus motion clips from the library. It runs on the server for about 3–6 minutes and costs real credits, so the FIRST call (without confirm_credits) only returns the quote and starts nothing; call again with the same arguments and confirm_credits = the quoted number to start. A walking and a running clip come free unless free_clips=false. Two-legged characters only (no animals, no creatures with extra limbs). Then poll t3d_figure_status, and when done put the figure into a scene with t3d_figure_place.","inputSchema":{"type":"object","properties":{"prompt":{"type":"string","minLength":3,"maxLength":600,"description":"who/what: age, build, clothes, colours, style — e.g. \"a young woman in a red raincoat and black boots, friendly face, full body, realistic\""},"clips":{"type":"array","items":{"type":"integer","minimum":0},"maxItems":10,"description":"clip ids from t3d_figure_library (3 credits each)"},"preset":{"type":"string","enum":["basis","gespraech","kampf","tanz"],"description":"ready-made clip pack, merged with clips"},"free_clips":{"type":"boolean","description":"add the free walk and run clips (default true)"},"detail":{"type":"string","enum":["light","standard","fine"],"description":"mesh density: ~15k / 30k / 60k triangles (default standard)"},"height_m":{"type":"number","minimum":1,"maximum":2.5,"description":"default 1.7"},"fingers":{"type":"boolean","description":"add finger bones"},"draft":{"type":"boolean","description":"cheaper, rougher base model"},"project":{"type":"string","description":"optional project id this figure is meant for"},"confirm_credits":{"type":"integer","minimum":0,"description":"must equal the quote from the first call"}},"required":["prompt"],"additionalProperties":false}},{"name":"t3d_figure_moves","description":"Humanoid figures: order more motion clips from the library for a figure job that is done (3 credits each, up to 10 per request; the skeleton of a job is kept for 3 days). Like t3d_figure_create the first call (no confirm_credits) only returns the quote. Poll t3d_figure_status until done, then t3d_figure_place {project, job, object} adds the new clips to the figure that is already in the scene.","inputSchema":{"type":"object","properties":{"job":{"type":"string","description":"Figure job id (from t3d_figure_create or t3d_figure_status)"},"clips":{"type":"array","items":{"type":"integer","minimum":0},"minItems":1,"maxItems":10,"description":"clip ids from t3d_figure_library"},"confirm_credits":{"type":"integer","minimum":0,"description":"must equal the quote from the first call"}},"required":["job","clips"],"additionalProperties":false}},{"name":"t3d_figure_status","description":"Humanoid figures: progress of a figure job (shape → texture → skeleton → motions, about 3–6 minutes) — or, without job, your recent jobs. status is running, done, failed or canceled. The files stay available for 3 days after the job ran.","inputSchema":{"type":"object","properties":{"job":{"type":"string","description":"Figure job id (from t3d_figure_create or t3d_figure_status)"}},"required":[],"additionalProperties":false}},{"name":"t3d_figure_place","description":"Humanoid figures, last step: put a finished figure job into a project scene — ONE textured, rigged object (skeleton, skin weights, motion clips), feet on the ground at position [x,y,z] (default: beside the existing objects). rotation_y_deg 0 = facing +Z, 90 = facing +X; height_m rescales (default as ordered); clip = name of the clip to play first (t3d_rig_set changes it later, t3d_scene_describe lists the clips). With object (an existing rigged figure) nothing new is created: the job's clips are added to that figure instead (after t3d_figure_moves). Placing is free — the credits were spent when the job ran. The files of a job expire after 3 days.","inputSchema":{"type":"object","properties":{"project":{"type":"string","description":"Project id (from t3d_scene_list / t3d_scene_create)"},"job":{"type":"string","description":"Figure job id (from t3d_figure_create or t3d_figure_status)"},"position":{"type":"array","items":{"type":"number"},"minItems":3,"maxItems":3},"rotation_y_deg":{"type":"number"},"height_m":{"type":"number","minimum":0.3,"maximum":5},"name":{"type":"string"},"clip":{"type":"string"},"loop":{"type":"boolean"},"autoplay":{"type":"boolean"},"object":{"type":"string","description":"Object: name (case-insensitive, substring ok) or 1-based index from t3d_scene_describe"}},"required":["project","job"],"additionalProperties":false}},{"name":"d2_doc_list","description":"List the user's 2Dream documents (vector/page-layout, id, title, last change, editor link).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"d2_doc_create","description":"Create a new 2Dream document. Presets: a5 a4 a3 a2 a1 a0 letter legal tabloid sq1080 (1080×1080 px social) hd (1920×1080). Returns id and page size in mm. Coordinates for all d2_* tools: millimetres, origin top-left, y down.","inputSchema":{"type":"object","properties":{"title":{"type":"string"},"preset":{"enum":["a5","a4","a3","a2","a1","a0","letter","legal","tabloid","sq1080","hd"]},"landscape":{"type":"boolean"},"pages":{"type":"integer","minimum":1,"maximum":60}},"required":["title"],"additionalProperties":false}},{"name":"d2_doc_describe","description":"Describe a document: pages with size (mm) and all objects per page in stacking order (index, id, type, name, layer, bounding box in mm, fill/stroke, text excerpt). Call after every change to learn current indices.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page; omit for all pages"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_page_add","description":"Append pages (same format as the last page unless preset given).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"count":{"type":"integer","minimum":1,"maximum":50},"preset":{"enum":["a5","a4","a3","a2","a1","a0","letter","legal","tabloid","sq1080","hd"]},"landscape":{"type":"boolean"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_page_delete","description":"Delete a page (a document keeps at least one page).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"}},"required":["doc","page"],"additionalProperties":false}},{"name":"d2_node_add","description":"Add an object to a page. kind: rect{x,y,w,h,cornerRadius} · ellipse{x,y,w,h} · line{points:[[x1,y1],[x2,y2]]} · polygon{points} · path{d (SVG path data in mm, M/L/H/V/C/S/Q/T/A/Z)} · text{x,y,w,h,text,font,fontSize(pt),align,bold,italic,lineHeight,valign,columns,padding,autofit,hyphenate,…} = a TEXT FRAME for body copy, headlines, captions: mode flow (default) wraps paragraphs at word boundaries inside w×h like a page-layout text box (omit h to size the frame to the text; long copy over several frames/pages → d2_text_story). mode art = display lettering scaled to the frame (logo-style, fitted to its natural proportions — never for running text) · image{x,y,w?,h?,url (http(s) or data URL; fetched and embedded)} · signature{x,y,w?,h?,name (label)} = a signature field for d2_doc_share mode sign. All lengths mm; fill = text colour for text. Objects go to the printable layout layer (or `layer`), never to the non-printing \"Wireframes\" layer. Returns the new node id (and for text an overflow estimate).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"kind":{"enum":["rect","ellipse","line","polygon","path","text","image","signature"]},"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number"},"h":{"type":"number"},"cornerRadius":{"type":"number"},"points":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"maxItems":2000},"d":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":20000},"font":{"type":"string","description":"Arial, Verdana, Trebuchet MS, Segoe UI, Georgia, Times New Roman, Courier New, Impact (others fall back in the viewer)"},"fontSize":{"type":"number","minimum":2,"maximum":500,"description":"pt"},"align":{"enum":["left","center","right","justify"]},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.6,"maximum":4,"description":"factor, default 1.25"},"mode":{"enum":["flow","art"],"description":"flow = text frame that wraps (default) · art = graphic lettering scaled to the frame"},"valign":{"enum":["top","middle","bottom"],"description":"vertical alignment inside the frame"},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"text columns inside the frame"},"columnGap":{"type":"number","minimum":0,"description":"mm (default 2)"},"padding":{"type":"number","minimum":0,"description":"inner margin mm, all sides (default 1.6)"},"autofit":{"enum":["none","shrink","grow"],"description":"on overflow: shrink the text or grow the frame downwards (single frames only)"},"hyphenate":{"type":"boolean","description":"automatic hyphenation (lang)"},"firstIndent":{"type":"number","description":"first-line indent mm"},"paragraphSpacing":{"type":"number","minimum":0,"description":"space after each paragraph, pt"},"lang":{"type":"string","description":"hyphenation language (de, en, fr, …)"},"url":{"type":"string"},"layer":{"type":"string","description":"target layer for this object (name or id); created on top if missing. Default: the printable layout layer — never the non-printing \"Wireframes\" layer"},"name":{"type":"string"},"fill":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"stroke":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"strokeWidth":{"type":"number","minimum":0,"description":"pt"},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","description":"degrees, clockwise, about the object centre"},"shadow":{"type":"boolean","description":"drop shadow on/off"}},"required":["doc","kind"],"additionalProperties":false}},{"name":"d2_node_update","description":"Change properties of an object: name, fill (= text colour for text), stroke, strokeWidth(pt), opacity, shadow, visible, locked; for text: text content, font, fontSize, align, bold, italic, lineHeight, mode (flow|art), valign, columns, padding, autofit, hyphenate, firstIndent, paragraphSpacing, lang; cornerRadius for rect; layer moves the object to another (printable) layer. Geometry moves and frame sizes go through d2_node_transform.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"node":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"text":{"type":"string","maxLength":20000},"font":{"type":"string","description":"Arial, Verdana, Trebuchet MS, Segoe UI, Georgia, Times New Roman, Courier New, Impact (others fall back in the viewer)"},"fontSize":{"type":"number","minimum":2,"maximum":500,"description":"pt"},"align":{"enum":["left","center","right","justify"]},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.6,"maximum":4,"description":"factor, default 1.25"},"mode":{"enum":["flow","art"]},"valign":{"enum":["top","middle","bottom"],"description":"vertical alignment inside the frame"},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"text columns inside the frame"},"columnGap":{"type":"number","minimum":0,"description":"mm (default 2)"},"padding":{"type":"number","minimum":0,"description":"inner margin mm, all sides (default 1.6)"},"autofit":{"enum":["none","shrink","grow"],"description":"on overflow: shrink the text or grow the frame downwards (single frames only)"},"hyphenate":{"type":"boolean","description":"automatic hyphenation (lang)"},"firstIndent":{"type":"number","description":"first-line indent mm"},"paragraphSpacing":{"type":"number","minimum":0,"description":"space after each paragraph, pt"},"lang":{"type":"string","description":"hyphenation language (de, en, fr, …)"},"cornerRadius":{"type":"number"},"visible":{"type":"boolean"},"locked":{"type":"boolean"},"layer":{"type":"string","description":"target layer for this object (name or id); created on top if missing. Default: the printable layout layer — never the non-printing \"Wireframes\" layer"},"name":{"type":"string"},"fill":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"stroke":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"strokeWidth":{"type":"number","minimum":0,"description":"pt"},"opacity":{"type":"number","minimum":0,"maximum":1},"rotation":{"type":"number","description":"degrees, clockwise, about the object centre"},"shadow":{"type":"boolean","description":"drop shadow on/off"}},"required":["doc","node"],"additionalProperties":false}},{"name":"d2_node_transform","description":"Move (dx,dy mm), resize to width/height (mm, keeps aspect if one given), scale (factor about centre) and/or rotate (degrees about centre) an object. Order: resize → scale → rotate → move. Use to=[x,y] to place the top-left corner absolutely. Text frames: width/height resize the FRAME (flow text re-wraps, glyphs keep their size; art text keeps its proportions) and scale changes font size and frame together — text is never distorted.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"node":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"dx":{"type":"number"},"dy":{"type":"number"},"to":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"width":{"type":"number"},"height":{"type":"number"},"scale":{"type":"number","minimum":0.01,"maximum":100},"rotate":{"type":"number"}},"required":["doc","node"],"additionalProperties":false}},{"name":"d2_node_delete","description":"Delete objects (ids/names/indices).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"nodes":{"type":"array","items":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"minItems":1,"maxItems":500}},"required":["doc","nodes"],"additionalProperties":false}},{"name":"d2_node_order","description":"Stacking order: front | back | forward | backward.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"node":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"to":{"enum":["front","back","forward","backward"]}},"required":["doc","node","to"],"additionalProperties":false}},{"name":"d2_node_group","description":"Group objects (same parent) into one group; returns the group id.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"nodes":{"type":"array","items":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"minItems":2,"maxItems":200},"name":{"type":"string"}},"required":["doc","nodes"],"additionalProperties":false}},{"name":"d2_doc_svg","description":"Render a page as SVG (rect, ellipse, line, polygon, path, text, images): flow text wrapped (server estimate, stories distributed over their chained frames), art text scaled to its frame, non-printing layers (wireframes) hidden unless wireframes:true. Good for a quick check or as export; the editor/PDF renderer is exact (real fonts, hyphenation, effects).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"images":{"type":"boolean","description":"include embedded images (default true)"},"wireframes":{"type":"boolean","description":"also draw the non-printing Wireframes layer"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_doc_share","description":"Create a public link: view (PDF-like flipbook viewer), sign (recipient signs fields and a signed PDF copy comes back), sandbox (recipient edits a 24-h copy in the full editor without an account — the way to hand a draft to a human).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"mode":{"enum":["view","sign","sandbox"]},"expiresDays":{"type":"integer","minimum":1,"maximum":3650}},"required":["doc"],"additionalProperties":false}},{"name":"d2_expose_start","description":"Start an exposé: creates a 2Dream document of the given kind (report | yearbook | menu | letter | flyer | website) with a skeleton of wireframe frames (image/text/headline/chart/table/logo/footer, each with a prompt) on a non-printing \"Wireframes\" layer. Returns the blueprint (same as d2_wire_list). Edit the prompts with d2_wire_set, add frames with d2_wire_add, then execute the blueprint with d2_wire_fill (one call per frame: text/headline/footer as flow text, image/logo from a URL) or d2_node_add + d2_wire_set.","inputSchema":{"type":"object","properties":{"title":{"type":"string"},"kind":{"enum":["report","yearbook","menu","letter","flyer","website"],"description":"report = Report (Titel, Spaltentext, Diagramm, Fußzeile mit Seitenzahl); yearbook = Yearbook (Titelbild, Bildraster mit Unterschriften, Kapiteltexte); menu = Menu (Logo, Rubriken, Gericht · Beschreibung · Preis aus Daten); letter = Letter (Absender, Fensterkuvert-Adressfeld, Betreff, Text, Unterschrift); flyer = Flyer (Hero-Bild, Headline, drei Nutzenblöcke, Kontakt, Logo); website = Website (Hero, Navigation, Sektionen, Footer — Seiten in Webmaßen)"},"pages":{"type":"integer","minimum":1,"maximum":40,"description":"override page count"}},"required":["title","kind"],"additionalProperties":false}},{"name":"d2_wire_list","description":"Read the blueprint of a document: exposé kind, CI (colours with roles, fonts, logos), data tables, and all wireframe frames (page, kind, prompt, data binding, status, bbox in mm). Call before executing a layout for a human; re-read after changes.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_wire_add","description":"Add a wireframe frame with a prompt (and optional data binding) on the \"Wireframes\" layer of a page. Position/size in mm.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"kind":{"enum":["image","text","headline","chart","table","logo","footer"],"description":"image | text | headline | chart | table | logo | footer"},"prompt":{"type":"string","maxLength":2000},"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number","minimum":1},"h":{"type":"number","minimum":1},"data":{"type":"object","description":"Data binding: table name (from d2_wire_list.tables), filter prompt, chart type","properties":{"table":{"type":"string"},"filter":{"type":"string"},"chart":{"enum":["pie","bar","line","donut"]},"field":{"type":"string"}},"additionalProperties":false}},"required":["doc","kind","x","y","w","h"],"additionalProperties":false}},{"name":"d2_wire_set","description":"Update a wireframe frame: prompt, kind, data binding, status (open | done) and the id of the node that fulfils it (filledId). Mark frames done after you created their content.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"id":{"type":"string","description":"wire id from d2_wire_list"},"prompt":{"type":"string","maxLength":2000},"kind":{"enum":["image","text","headline","chart","table","logo","footer"],"description":"image | text | headline | chart | table | logo | footer"},"data":{"type":"object","description":"Data binding: table name (from d2_wire_list.tables), filter prompt, chart type","properties":{"table":{"type":"string"},"filter":{"type":"string"},"chart":{"enum":["pie","bar","line","donut"]},"field":{"type":"string"}},"additionalProperties":false},"status":{"enum":["open","done"]},"filledId":{"type":"string"}},"required":["doc","id"],"additionalProperties":false}},{"name":"d2_ci_get","description":"Corporate identity of a document: colours with roles (primary, secondary, accent, text, bg, spot), heading/body fonts, logo variants, notes. Use these for every text and shape you add.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"logos":{"type":"boolean","description":"include logo image data (data URLs) — large"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_ci_set","description":"Set or update the corporate identity of a document (name, colours with roles, fonts, logos as URLs, notes). Colours are added as document swatches. Partial updates allowed (fields you omit stay).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"name":{"type":"string"},"colors":{"type":"array","maxItems":24,"items":{"type":"object","properties":{"n":{"type":"string"},"c":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"role":{"enum":["primary","secondary","accent","text","bg","spot"]},"spot":{"type":"object","properties":{"sys":{"type":"string"},"code":{"type":"string"}},"required":["sys","code"]}},"required":["n","c"]}},"fonts":{"type":"object","properties":{"heading":{"type":"string"},"body":{"type":"string"}}},"logos":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"n":{"type":"string"},"href":{"type":"string","description":"https URL or data URL (SVG/PNG)"},"variant":{"enum":["word","mark","light","dark"]}},"required":["n","href"]}},"notes":{"type":"string","maxLength":4000}},"required":["doc"],"additionalProperties":false}},{"name":"d2_text_story","description":"Body text (Fließtext / running copy) through one or more linked text frames — the way to set paragraphs: the text wraps at word boundaries and flows from frame to frame (columns, boxes, across pages); the editor keeps the chain editable. Give the full text once (paragraphs separated by \\n) and the frames in reading order (mm). Omit h on the last frame to size it to the remaining text. Returns frame ids per page and an overflow estimate (the editor/viewer do the exact layout).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"text":{"type":"string","maxLength":60000},"frames":{"type":"array","minItems":1,"maxItems":40,"items":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"description":"1-based page number (default 1)"},"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number","minimum":1},"h":{"type":"number","minimum":1,"description":"omit on the last frame to size it to the remaining text"}},"required":["x","y","w"],"additionalProperties":false}},"font":{"type":"string","description":"Arial, Verdana, Trebuchet MS, Segoe UI, Georgia, Times New Roman, Courier New, Impact (others fall back in the viewer)"},"fontSize":{"type":"number","minimum":2,"maximum":500,"description":"pt"},"align":{"enum":["left","center","right","justify"]},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.6,"maximum":4,"description":"factor, default 1.25"},"valign":{"enum":["top","middle","bottom"],"description":"vertical alignment inside the frame"},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"text columns inside the frame"},"columnGap":{"type":"number","minimum":0,"description":"mm (default 2)"},"padding":{"type":"number","minimum":0,"description":"inner margin mm, all sides (default 1.6)"},"autofit":{"enum":["none","shrink","grow"],"description":"on overflow: shrink the text or grow the frame downwards (single frames only)"},"hyphenate":{"type":"boolean","description":"automatic hyphenation (lang)"},"firstIndent":{"type":"number","description":"first-line indent mm"},"paragraphSpacing":{"type":"number","minimum":0,"description":"space after each paragraph, pt"},"lang":{"type":"string","description":"hyphenation language (de, en, fr, …)"},"fill":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"name":{"type":"string"},"layer":{"type":"string","description":"target layer for this object (name or id); created on top if missing. Default: the printable layout layer — never the non-printing \"Wireframes\" layer"},"continuedNotes":{"type":"boolean","description":"print \"continued on/from page …\" notes at chained frames"}},"required":["doc","text","frames"],"additionalProperties":false}},{"name":"d2_text_link","description":"Chain flow text frames into one story: the overflow of `from` continues in `to` — an EMPTY flow text frame on any page (its own text would be lost). Use it to continue body text in a further frame or on the next page. unlink:true cuts the chain after `from`; the following frames become an empty story of their own.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"from":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"fromPage":{"type":"integer","minimum":1,"description":"page of `from` (needed only for index references)"},"to":{"type":"string","description":"Node: id, name (case-insensitive, substring ok) or 1-based index from d2_doc_describe"},"toPage":{"type":"integer","minimum":1,"description":"page of `to` (needed only for index references)"},"unlink":{"type":"boolean"}},"required":["doc","from"],"additionalProperties":false}},{"name":"d2_wire_fill","description":"Fill a blueprint frame (wire) in ONE call and mark it done: text | headline | footer → a flow text frame at the frame bbox on the printable layout layer (CI fonts and colours by default, shrink-to-fit when the text is too long); image | logo → an image from url fitted into the frame (logo: the CI logo when url is omitted). chart | table are not generated here: draw them with d2_node_add at the frame bbox and finish with d2_wire_set status=done.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id (from d2_doc_list / d2_doc_create)"},"id":{"type":"string","description":"wire id from d2_wire_list"},"text":{"type":"string","maxLength":60000},"url":{"type":"string","description":"image: http(s) or data URL"},"font":{"type":"string","description":"Arial, Verdana, Trebuchet MS, Segoe UI, Georgia, Times New Roman, Courier New, Impact (others fall back in the viewer)"},"fontSize":{"type":"number","minimum":2,"maximum":500,"description":"pt"},"align":{"enum":["left","center","right","justify"]},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"lineHeight":{"type":"number","minimum":0.6,"maximum":4,"description":"factor, default 1.25"},"valign":{"enum":["top","middle","bottom"],"description":"vertical alignment inside the frame"},"columns":{"type":"integer","minimum":1,"maximum":6,"description":"text columns inside the frame"},"columnGap":{"type":"number","minimum":0,"description":"mm (default 2)"},"padding":{"type":"number","minimum":0,"description":"inner margin mm, all sides (default 1.6)"},"autofit":{"enum":["none","shrink","grow"],"description":"on overflow: shrink the text or grow the frame downwards (single frames only)"},"hyphenate":{"type":"boolean","description":"automatic hyphenation (lang)"},"firstIndent":{"type":"number","description":"first-line indent mm"},"paragraphSpacing":{"type":"number","minimum":0,"description":"space after each paragraph, pt"},"lang":{"type":"string","description":"hyphenation language (de, en, fr, …)"},"fill":{"type":"string","description":"CSS colour (#rrggbb, rgba(), name) or \"none\""},"name":{"type":"string"},"layer":{"type":"string","description":"target layer for this object (name or id); created on top if missing. Default: the printable layout layer — never the non-printing \"Wireframes\" layer"}},"required":["doc","id"],"additionalProperties":false}},{"name":"d2_book_howto","description":"How to write a book with 2Dream: the loop (create → submit chapter by chapter → images → share), the manuscript syntax (Markdown-light), the 8 layout types, voices, image styles and fonts. Read once before d2_book_create.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"d2_book_create","description":"Start a book: creates a 2Dream document with a book manuscript (title, author, language, layout type, fonts, voice, audience, synopsis, chapter plan with briefs and target lengths, illustration style sheet) and typesets the empty skeleton (half title, title page, imprint, contents, chapter openers). Returns the plan and the FIRST UNIT to write. Then loop d2_book_submit until `next` is done.","inputSchema":{"type":"object","properties":{"title":{"type":"string","maxLength":200},"subtitle":{"type":"string","maxLength":300},"author":{"type":"string","maxLength":120},"publisher":{"type":"string","maxLength":120},"lang":{"type":"string","description":"de, en, fr, es, it, pt, ru, … (text language = hyphenation language)"},"layout":{"enum":["novel","nonfiction","textbook","children","coffeetable","documentation","paperback","poetry"],"description":"novel = Novel (135×215 mm); nonfiction = Non-fiction (170×240 mm); textbook = Textbook (210×297 mm); children = Children’s book (210×210 mm); coffeetable = Coffee-table book (280×240 mm); documentation = Documentation (210×297 mm); paperback = Paperback (120×190 mm); poetry = Poetry (135×215 mm)"},"fontSet":{"enum":["serif","sans","mixed"],"description":"serif = classic book (EB Garamond); sans = Source Sans/Inter; mixed = serif text, sans headings"},"fonts":{"type":"object","properties":{"body":{"type":"string"},"heading":{"type":"string"}},"description":"serif: Tinos, EB Garamond, Libre Bodoni, Libre Baskerville, Crimson Text, Literata, Gentium Book Plus, Spectral · sans: Arimo, Inter, Source Sans 3, Fira Sans, Work Sans, Archivo, Nunito, Lato (or any web font / uploaded font name)","additionalProperties":false},"wmm":{"type":"number","minimum":60,"maximum":420,"description":"custom page width mm"},"hmm":{"type":"number","minimum":60,"maximum":600},"audience":{"type":"string","maxLength":300},"audienceAge":{"type":"integer","minimum":3,"maximum":99,"description":"target reader age (children/teaching books: sets the type size)"},"voice":{"enum":["sachlich","reisserisch","dokumentarisch","kritisch","kuenstlerisch","erzaehlerisch","kinderbuch","intellektuell","lehrbuch","ratgeber"],"description":"sachlich = Factual; reisserisch = Sensational; dokumentarisch = Documentary; kritisch = Critical; kuenstlerisch = Literary; erzaehlerisch = Narrative; kinderbuch = Children’s author; intellektuell = Intellectual; lehrbuch = Textbook; ratgeber = Guidebook"},"synopsis":{"type":"string","maxLength":6000},"imprint":{"type":"string","maxLength":3000,"description":"imprint page text (© line, publisher, ISBN …); default = © year author"},"dedication":{"type":"string","maxLength":600},"imageStyle":{"type":"object","description":"style sheet for ALL illustrations (consistency): style id (line|pencil|watercolor|flat|woodcut|oil|photo|collage|3d|custom), custom text, palette (hex list), mono none|grayscale|duotone|sepia, duotone [hex,hex], refs [{id, href, note}] reference images, negative (what to avoid), mood","properties":{"style":{"enum":["line","pencil","watercolor","flat","woodcut","oil","photo","collage","3d","custom"]},"custom":{"type":"string","maxLength":600},"palette":{"type":"array","items":{"type":"string"},"maxItems":12},"mono":{"enum":["none","grayscale","duotone","sepia"]},"duotone":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":2},"refs":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"id":{"type":"string"},"href":{"type":"string"},"note":{"type":"string","maxLength":200}},"required":["id","href"]}},"negative":{"type":"string","maxLength":300},"mood":{"type":"string","maxLength":200}},"additionalProperties":false},"toc":{"type":"boolean"},"tocDepth":{"enum":[1,2]},"chapterNumbers":{"type":"boolean"},"runningHeads":{"type":"boolean"},"folios":{"type":"boolean"},"halfTitle":{"type":"boolean"},"figureNumbers":{"type":"boolean"},"hyphenate":{"type":"boolean"},"chapterStartRecto":{"type":"boolean"},"chapters":{"type":"array","minItems":1,"maxItems":120,"items":{"type":"object","properties":{"id":{"type":"string","description":"existing chapter id (update) — omit to append a new chapter"},"title":{"type":"string","maxLength":160},"summary":{"type":"string","maxLength":2000,"description":"what the chapter covers (brief for the writer)"},"targetWords":{"type":"integer","minimum":50,"maximum":30000},"status":{"enum":["planned","written","done"]}},"additionalProperties":false},"description":"chapter plan in reading order: title, summary (brief), targetWords"}},"required":["title","layout","chapters"],"additionalProperties":false}},{"name":"d2_book_get","description":"Read the book: plan, chapter status and word counts, illustrations with status, typeset page count, and the next unit to work on (resume point). With chapter:<id> also the manuscript text of that chapter.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"},"chapter":{"type":"string","description":"chapter id → include its manuscript text"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_book_set","description":"Change book settings (title, author, language, layout type, fonts, voice, audience, imprint, dedication, image style sheet, options) or the chapter plan (chapters: update by id, append without id; deleteChapters: ids). Re-typesets the book.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"},"title":{"type":"string","maxLength":200},"subtitle":{"type":"string","maxLength":300},"author":{"type":"string","maxLength":120},"publisher":{"type":"string","maxLength":120},"lang":{"type":"string","description":"de, en, fr, es, it, pt, ru, … (text language = hyphenation language)"},"layout":{"enum":["novel","nonfiction","textbook","children","coffeetable","documentation","paperback","poetry"],"description":"novel = Novel (135×215 mm); nonfiction = Non-fiction (170×240 mm); textbook = Textbook (210×297 mm); children = Children’s book (210×210 mm); coffeetable = Coffee-table book (280×240 mm); documentation = Documentation (210×297 mm); paperback = Paperback (120×190 mm); poetry = Poetry (135×215 mm)"},"fontSet":{"enum":["serif","sans","mixed"],"description":"serif = classic book (EB Garamond); sans = Source Sans/Inter; mixed = serif text, sans headings"},"fonts":{"type":"object","properties":{"body":{"type":"string"},"heading":{"type":"string"}},"description":"serif: Tinos, EB Garamond, Libre Bodoni, Libre Baskerville, Crimson Text, Literata, Gentium Book Plus, Spectral · sans: Arimo, Inter, Source Sans 3, Fira Sans, Work Sans, Archivo, Nunito, Lato (or any web font / uploaded font name)","additionalProperties":false},"wmm":{"type":"number","minimum":60,"maximum":420,"description":"custom page width mm"},"hmm":{"type":"number","minimum":60,"maximum":600},"audience":{"type":"string","maxLength":300},"audienceAge":{"type":"integer","minimum":3,"maximum":99,"description":"target reader age (children/teaching books: sets the type size)"},"voice":{"enum":["sachlich","reisserisch","dokumentarisch","kritisch","kuenstlerisch","erzaehlerisch","kinderbuch","intellektuell","lehrbuch","ratgeber"],"description":"sachlich = Factual; reisserisch = Sensational; dokumentarisch = Documentary; kritisch = Critical; kuenstlerisch = Literary; erzaehlerisch = Narrative; kinderbuch = Children’s author; intellektuell = Intellectual; lehrbuch = Textbook; ratgeber = Guidebook"},"synopsis":{"type":"string","maxLength":6000},"imprint":{"type":"string","maxLength":3000,"description":"imprint page text (© line, publisher, ISBN …); default = © year author"},"dedication":{"type":"string","maxLength":600},"imageStyle":{"type":"object","description":"style sheet for ALL illustrations (consistency): style id (line|pencil|watercolor|flat|woodcut|oil|photo|collage|3d|custom), custom text, palette (hex list), mono none|grayscale|duotone|sepia, duotone [hex,hex], refs [{id, href, note}] reference images, negative (what to avoid), mood","properties":{"style":{"enum":["line","pencil","watercolor","flat","woodcut","oil","photo","collage","3d","custom"]},"custom":{"type":"string","maxLength":600},"palette":{"type":"array","items":{"type":"string"},"maxItems":12},"mono":{"enum":["none","grayscale","duotone","sepia"]},"duotone":{"type":"array","items":{"type":"string"},"minItems":2,"maxItems":2},"refs":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"id":{"type":"string"},"href":{"type":"string"},"note":{"type":"string","maxLength":200}},"required":["id","href"]}},"negative":{"type":"string","maxLength":300},"mood":{"type":"string","maxLength":200}},"additionalProperties":false},"toc":{"type":"boolean"},"tocDepth":{"enum":[1,2]},"chapterNumbers":{"type":"boolean"},"runningHeads":{"type":"boolean"},"folios":{"type":"boolean"},"halfTitle":{"type":"boolean"},"figureNumbers":{"type":"boolean"},"hyphenate":{"type":"boolean"},"chapterStartRecto":{"type":"boolean"},"chapters":{"type":"array","maxItems":120,"items":{"type":"object","properties":{"id":{"type":"string","description":"existing chapter id (update) — omit to append a new chapter"},"title":{"type":"string","maxLength":160},"summary":{"type":"string","maxLength":2000,"description":"what the chapter covers (brief for the writer)"},"targetWords":{"type":"integer","minimum":50,"maximum":30000},"status":{"enum":["planned","written","done"]}},"additionalProperties":false}},"deleteChapters":{"type":"array","items":{"type":"string"},"maxItems":120},"styles":{"type":"object","description":"paragraph style overrides, e.g. {\"body\":{\"size\":11,\"lineH\":1.4},\"h1\":{\"align\":\"left\"}} — sizes in pt, indents in mm","additionalProperties":true},"breaks":{"type":"object","description":"page-break rules (merged into the defaults): {widowMin:2, orphanMin:2, head:{h2:{keep:3,maxPos:0.8},h3:{keep:2,maxPos:0.85},moveMax:4}, chapter:{endMin:5,spillAbsorb:3}, fit:{enabled:true,steps:[0.006,0.012,0.02],maxParas:3}, spread:{balance:true}, maxCutLines:4} — keep = lines that must follow a heading, maxPos = page fraction below which a heading moves (if its block ≤ moveMax lines), fit = letter-spacing steps (em) for pulling/pushing single lines","additionalProperties":true}},"required":["doc"],"additionalProperties":false}},{"name":"d2_book_submit","description":"Hand in a chapter manuscript (unit \"ch:<id>\") — the ONLY way to write book text. Markdown-light (## section, ### sub-section, paragraphs separated by a blank line, > quote, - list, 1. list, *** scene break, \\newpage, ![caption](id half|full|vignette) places an illustration after that paragraph, [^1] + [^1]: note, [[ch:c2]] cross-reference, **bold**, *italic*). Describe every illustration you referenced in `images` (id, size, caption, prompt). The server checks length against targetWords, truncation and placeholders; if it rejects, fix the text and submit again (force:true overrides). On success it typesets and returns `next` — continue with it at once; never print the text in the chat.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"},"unit":{"type":"string","description":"ch:<chapter id> (from next / d2_book_get)"},"text":{"type":"string","maxLength":400000,"description":"the chapter manuscript (Markdown-light), without the chapter title line"},"append":{"type":"boolean","description":"append to the existing chapter text (long chapters in parts); the last part should set done:true"},"done":{"type":"boolean","description":"chapter complete (default true)"},"force":{"type":"boolean","description":"accept despite validation problems"},"images":{"type":"array","maxItems":40,"items":{"type":"object","properties":{"id":{"type":"string","maxLength":24},"size":{"enum":["half","full","vignette"]},"caption":{"type":"string","maxLength":300},"prompt":{"type":"string","maxLength":1200,"description":"what the picture shows (scene, subject, light, composition) — the style sheet is added automatically"}},"required":["id","prompt"],"additionalProperties":false}}},"required":["doc","unit","text"],"additionalProperties":false}},{"name":"d2_book_image","description":"Hand in or change an illustration. url (https or data URL of the finished picture) stores it and places it in its slot; mode generate lets the server create it from the compiled prompt (OpenAI image model, costs the user’s ⚡ balance, needs OPENAI_API_KEY on the server); mode clear removes the picture. prompt/caption/size/chapter update the slot. Returns the compiled prompt (style sheet merged) you can use in your own image tool.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"},"id":{"type":"string","description":"image id (from next / d2_book_get); a new id creates a slot in `chapter`"},"url":{"type":"string","description":"https URL or data:image/… of the finished picture (PNG/JPEG/WebP)"},"mode":{"enum":["upload","generate","clear"]},"quality":{"enum":["medium","high"],"description":"generate: medium (default) or high"},"chapter":{"type":"string"},"size":{"enum":["half","full","vignette"]},"caption":{"type":"string","maxLength":300},"prompt":{"type":"string","maxLength":1200},"fit":{"enum":["cover","contain"]}},"required":["doc","id"],"additionalProperties":false}},{"name":"d2_book_typeset","description":"Re-typeset the whole book from the manuscript (pages, chapter openers on right-hand pages, running heads, folios, contents with page numbers, illustrations at their anchors). Server metrics are estimates; opening the document in 2Dream sets it exactly. Returns page count, chapter start pages and warnings.","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"}},"required":["doc"],"additionalProperties":false}},{"name":"d2_book_flatten","description":"„Buch auf Dokument umrechnen\": unlock the book pages and cut the binding to the manuscript — every frame becomes a normal editable 2Dream object, further d2_book_* changes no longer re-typeset. Irreversible (keep a d2_doc_share sandbox copy first if unsure).","inputSchema":{"type":"object","properties":{"doc":{"type":"string","description":"Document id of the book (from d2_book_create / d2_doc_list)"}},"required":["doc"],"additionalProperties":false}}],"guides":{"overview":"Tangibl3D is a cage modeller: you edit a coarse polygon cage (a few quads), the app smooths it with Doo-Sabin subdivision (level 1–4) into a rounded surface. Hard-edge objects stay exact (CAD-like). Five habits make everything else easy:\n1. Think in cages. A bottle is a 24-sided cylinder plus three extrudes — never thousands of vertices. Keep the cage closed (t3d_mesh_heal) so smoothing has no borders.\n2. Soft shapes come from extrude + squeeze (scale the new cap below 1). Doo-Sabin turns a squeezed cap into a rounded end; two squeezes in a row give a fully rounded tip.\n3. The control gizmo is a 3D turtle: the selected face is the turtle's head. t3d_turtle extrudes forward (distance), squeezes/flares the cap (scale), steers it (yaw/pitch) and twists it (roll) — chain steps to draw the object's course through space: pipes, horns, handles, branches, letters. Every step returns the new head faces. This is the trademark of the Show-Real subdivision editor.\n4. Join, do not stack: parts that belong together become ONE closed cage — t3d_mesh_bridge adds one tunnel segment between two faces (a handle to a cup, the two ends of a ring), t3d_mesh_merge welds two opposite faces into a seamless joint (dock a part onto another, close a ring, repair a cut). Both work inside an object and across objects.\n5. One object per THING. A chair, a door, a window, a wheel, a lounger is its own named object — never one mesh per material or layer that holds every item of that kind in the whole house (selecting one would select all). Repeat a thing with t3d_object_clone, name an assembly with t3d_object_group, repair a merged mesh with t3d_object_split — topic objects.\nWorkflow: t3d_scene_create → t3d_object_add (recipes, softedge:true) → t3d_object_faces (find the face to grow from: facing \"up\", largest …) → t3d_turtle / t3d_mesh_extrude / t3d_face_transform → t3d_mesh_bridge / t3d_mesh_merge (join parts, close rings) → t3d_mesh_subdivide level 2 → t3d_object_material → t3d_scene_share. Call t3d_howto with topic objects (one object per thing, naming, clone / group / split), doo-sabin, turtle, joints, materials, recipes or animation (scenes, keyframes, camera rides, paths, clickable objects) for details and worked examples.","doo-sabin":"Doo-Sabin subdivision (softedge objects): every subdivision step replaces each face by a smaller inset face, each edge by a new quad and each vertex by a new face — after 2 levels the cage is a smooth, slightly shrunken surface that hugs the cage from inside. Consequences for modelling:\n- The cage is the model. Quads with similar edge lengths smooth evenly; a long thin quad stretches the smoothing. Triangles and n-gons are fine but smooth a little flatter.\n- Sharpness comes from geometry, not from flags: two parallel cage faces close together give a crisp edge; a single face gives a soft one. Use t3d_mesh_extrude with a tiny distance (or t3d_face_transform alongNormal 0.02) to add a \"support ring\" where you want an edge to stay crisp.\n- Rounded ends by squeezing: extrude the end face (distance = its width × 0.3–0.5) and scale the new cap to 0.4–0.6; extrude once more by a small distance with scale 0.3 → the end becomes a dome after smoothing. Scale > 1 flares (bell, trumpet, vase lip).\n- Holes and pockets: extrude with a negative offset (t3d_mesh_extrude offset) or intrude (t3d_face_transform alongNormal negative); keep the cage closed.\n- Remove material with t3d_mesh_collapse (collapses faces to a point) rather than deleting faces; t3d_mesh_heal closes anything that opened.\n- Join parts and close rings with t3d_mesh_bridge (ONE new tunnel segment between two faces with equal corner counts) or t3d_mesh_merge (two opposite faces welded into a seamless joint, no new segment) — the cage stays closed and smooths as one body; see topic joints.\n- Level: model at the cage (any level), set t3d_mesh_subdivide level 2 for the final look (3–4 only for very coarse cages — face counts grow 4× per level).\nExample — a soft bottle in 5 calls: cylinder r 0.4 h 1 (softedge) → faces facing up → t3d_turtle distance 0.1 scale 0.5 (shoulder) → t3d_turtle distance 0.4 scale 1 (neck) → t3d_turtle distance 0.03 scale 0.6 (lip rounding) → level 2.","turtle":"The 3D turtle (t3d_turtle): a face selection is the turtle's head; its normal is the heading. One step = extrude the head forward by distance, then scale the new cap about its centre (scale < 1 squeeze, > 1 flare), then turn it: yaw rotates about the \"up\" axis of the head (world Y projected into the cap plane), pitch about the \"right\" axis, roll (twist) about the heading itself. Because the next step extrudes along the NEW normal, repeated turns draw arcs and spirals: a 90° bend = 6 steps of pitch 15 (repeat 6). slide moves the cap sideways without turning (right/up in metres).\nReading the answer: faces = the new head (pass them to the next call), center and heading = where the turtle is and where it points, so you can plan the next distance from world coordinates.\nRecipes: pipe elbow = cylinder, head up, repeat 6 × {distance 0.15, pitch 15}; horn = repeat 10 × {distance 0.25, scale 0.85, pitch −8}; handle = extrude out, pitch 90 twice with a straight piece between, extrude back into the body; tree branch = yaw/pitch with small random values and scale 0.9 per step; letter S = alternate pitch +20 / −20 runs. Closed ring (torus): tilt the start cap 15° (t3d_face_transform rotate {axis:[-1,0,0], deg:15}), then {distance 0.3, pitch 15, repeat 23} — within one call the turtle carries its frame along, so the arc continues past vertical and the head returns to the start face; close it with t3d_mesh_merge (topic joints). For a coarse control, use t3d_face_transform directly (move, alongNormal, scale per axis, rotate about x/y/z/normal) — it is the gizmo without the extrude.","joints":"Joining, closing and repairing (t3d_mesh_bridge, t3d_mesh_merge, t3d_mesh_heal, t3d_mesh_collapse):\n- t3d_mesh_bridge connects two faces with the same number of corners by a tunnel: both faces vanish and ONE new ring segment of quads links their borders. Inside one object (faces [a, b]: a pipe through a block, the two ends of a bent turtle run → a closed ring; faces [a] alone picks the partner among the object's own faces) or across objects (faces [a] + with {object, face}: a handle to a cup, a branch to a trunk — the other object is merged into this one; omit with.face and the nearest face with equal corners that faces a is picked). Subdivision rounds the tunnel like any other cage; squeeze the returned segment faces with t3d_face_transform for a neck.\n- t3d_mesh_merge fuses two roughly opposite faces into a seamless joint: matching corners are moved together (anchor a | b | mid) and welded, both faces disappear, no new segment — two volumes become one closed body (the editor's dock-and-weld / Multi-Copy connect). Across objects the second part is docked first (translated so the face centres coincide). Use it to close a ring, to put a copy back onto its original or to repair a cut.\n- Both return the new face indices (bridge: the segment; merge: seamFaces, the ring of faces around the joint), closed and a topology check: euler 2 = ball, 0 = ring/torus, −2 = two holes; badEdges 0 = watertight.\n- Rules of thumb: equal corner counts (12-gon to 12-gon, quad to quad — to join a box to a cylinder, extrude a quad from the box or give the cylinder 4 sides), faces should roughly face each other (both tools warn when the normals are less than 120° apart), merge for a flush joint, bridge when you need length or a neck between the parts. Repairs: t3d_mesh_heal caps open borders, t3d_mesh_collapse removes a face without leaving a hole, merge welds a split part back together.\nExample — closed ring: cylinder r 0.2 h 0.3 (softedge, 12 sides) → t3d_face_transform rotate {axis:[-1,0,0], deg:15} on the top face → t3d_turtle {distance 0.3, pitch 15, repeat 23} → t3d_mesh_merge faces [head] (partner = the start face, picked automatically) → euler 0, level 2 = a smooth torus. Example — two boxes joined: t3d_mesh_bridge {object:\"A\", faces:[the face facing B], with:{object:\"B\"}} → one object with a connecting segment.","animation":"Animation (t3d_anim_*): a project has a timeline made of SCENES (segments, each with its own length at 30 fps). Frame 0 is the placement — the objects exactly as they stand in the scene; from frame 1 the animation runs. Every track key is therefore an OFFSET from the placement, never an absolute position. Read t3d_anim_describe before changing an existing animation.\n- Objects: t3d_anim_track {object, keys:[{t_s, move, rotate_deg, scale, alpha, path_pos}], entry/exit {fx, at_s, dur_s}, path, pathAlign, hide}. Entry/exit effects: fade, grow, flyL / flyR / flyT / flyB (fly in from the left / right / top / bottom); before the entry and after the exit the object is invisible. Keys tween linearly; fields you omit are carried over. Parametric groups (vehicle, watch, plant, eyewear) move as ONE object — address the group driver (chassis, case).\n- Paths: t3d_path_add {points, closed, smooth, flat} makes a control path (a helper curve: drawn as a line in the editor, hidden in the player unless the viewer switches the helper layer on). An object follows it with t3d_anim_track path: its centre rides along, path_pos 0 → 1 across the keys (default start → end), pathAlign turns it into the direction of travel (vehicles steer their wheels), flat paths keep the object height. The same paths carry the camera.\n- Camera, three ways: (1) static — t3d_camera_add names a view (pos, target, fov_deg) and t3d_anim_scene camera starts the scene from it; (2) keyframed ride — t3d_anim_camera keys [{t_s, pos, target, fov_deg}]: dolly, crane, push-in (2 keys), orbit (6–9 keys around the object, last = first for a loop), eased smooth (default) or linear; (3) path ride — t3d_anim_camera path {path, look: ahead | center | object | [x,y,z], height_m, from / to, t0_s / t1_s}: walkthroughs along a corridor, fly-overs, a turntable on a closed circle looking at the centre. The ride plays in the editor timeline and in shared links (not in walk mode). depth (t3d_anim_scene) is the perspective slider: 0 ≈ flat / isometric look, 1 = full perspective.\n- Events and clicks: t3d_anim_event — label (marker), goto (jump to a label: loops), stop, scene (switch to another scene), prompt (text overlay), sound (procedural effects). t3d_interact_set makes objects clickable: play | stop | goto | scene | cam (fly to a named camera) | url | sound | vis (toggle an object) | light — hot spots, buttons, configurators.\n- Viewer: t3d_scene_share gives the link; it plays scene 1 in a loop (default ?play=auto), ?play=click steps through the named cameras per click, ?play=free leaves it to the triggers; ?nav=orbit | spin | walk. Walk is first person (WASD / arrows / touch sticks, Shift = 2.8x) and starts at the AVATAR: t3d_avatar {pos (feet on the floor), yaw_deg or look_at, eye_height_m, speed_mps} sets start point, view direction, eye height and walking speed — place it at the entrance of a building, on the floor, looking into the first room; without an avatar the walk starts where the orbit camera stands. In the player the helper layer is off: control paths, camera and light gizmos and the avatar are hidden (eye button bottom-right or ?helpers=1 shows them). The player button sits bottom-left; while playing the controls fade out after a few seconds and come back on tap or mouse move (like a video player). Player configuration (v1.8.2): t3d_scene_share {nav, player: {controls, autoplay, click_cameras, loop, grid, helpers, lock}} — controls = visible groups (omit = all, [] = bare scene; bar, menu, gizmo, nav, view, zoom, info, hint, anim), loop:false plays once (Stop = back to the start, double-click Stop = replay), lock: [\"rotate\",\"zoom\",\"pan\",\"pinch\"] fixes the camera in orbit/spin (walk keeps its own controls). The link carries it as ?ui=…, ?play=…, ?loop=0, ?grid=1, ?helpers=1, ?lock=… and the answer includes the iframe embed code. Presets: interactive = everything on; player = controls [\"anim\"] + all four locks (autoplay, loop, fixed camera); thumbnail = controls [], nav spin.\n- Timing: seconds in, frames stored (30 fps). Keep scenes 4–12 s and 2–4 keys per movement; ease camera rides; stagger entries by 0.3–0.5 s.\nRecipes: product turntable = t3d_path_add closed circle (16 points, r 3 m, y 1.2) around the object + t3d_anim_camera path {look: \"center\"} over an 8 s scene; exploded view = one track per part with move offsets at t 1 → 3 s and back at 5 → 7 s; fly-in presentation = entry flyT / flyL per object, staggered 0.4 s, then a slow camera push-in with 2 keys; walkthrough = open path through the rooms, camera path look ahead, height_m 1.6, 20 s, plus t3d_avatar at the entrance (eye_height_m 1.7, speed_mps 1.6) so visitors can walk the rooms themselves (?nav=walk); hot-spot tour = t3d_camera_add per station + t3d_interact_set cmd cam on the objects; looping idle = goto event at the end back to a label at 0.1 s.","objects":"ONE OBJECT PER THING — the rule that keeps a scene usable. An object is what a person wants to select, move, colour, hide or animate on its own: a chair, a sun lounger, its cushion, a door, a window, a wheel, a lamp, a plant pot. Not an object: a screw, a tread lug, one slat of a pergola, a leaf — those are parts of their thing and stay in its mesh. Never build one mesh per MATERIAL or LAYER that holds every item of that kind in the whole house (\"all cushions\", \"all window frames\", \"furniture\"): selecting one lounger then selects thirty, and nothing can be moved, recoloured, hidden, clicked or animated on its own. Scenes from ChatGPT/Claude often arrive like this — do not.\nHow to get it right:\n- Recipes: t3d_object_add parts[] already makes one object per part — give every part a name (\"Lounger 01\", \"Lounger 01 cushion\").\n- Own meshes: t3d_scene_import objects[] imports several named objects in ONE call, each with its own verts/faces, color and optional faceColors (a colour per face) — a lounger with a wooden frame and a linen cushion is one object with two colours, or two objects if the cushion should move or recolour on its own. Every imported object reports its islands (disconnected pieces); more than one usually means you merged several things.\n- Repetition: build the thing once, then t3d_object_clone with the placements — thirty loungers become thirty named objects in one call (\"Lounger 01\" → \"Lounger 02\" …), never one mesh with thirty pieces. objects[] clones an assembly (frame + cushion) together.\n- Assemblies: t3d_object_group names a set of objects (\"Lounger 01\" = frame + cushion, a window = frame + glass): in the editor a click selects the whole group, each member keeps its own colour, material and animation track.\n- Repair: t3d_object_split {object, mode: clusters | islands} cuts a merged mesh into separate named objects — clusters keeps touching pieces together (frame + cushion, the four bars of a window frame), islands separates every disconnected piece; colours and materials travel with their faces. t3d_scene_describe shows islands per object and warns about meshes with many pieces.\n- Naming: name = the thing, plus a number and a place when useful: \"Window S 03\", \"Door kitchen\", \"Wheel FL\", \"Lounger 12\". Material belongs in t3d_object_material, not in the name; a sorting prefix (\"40 Window S 03\") is fine — but one object per window, not one object per material.\nJudgement: a car = body, 4 wheels, 2 seats, steering wheel, lights …; a house = walls per storey (or per room), each door, each window (frame + glass), each piece of furniture, the stair; a garden = each tree, each lounger, the pool, the pergola. Hundreds of objects are fine (see limits in t3d_scene_describe), thousands are not — leaves, lugs and screws stay inside their thing.","materials":"Finishes (t3d_object_material finish): standard, kunststoff (plastic), keramik, beton, silber, alu, gold, glas — they set metallic/roughness/alpha; color tints the base (hex or [r,g,b]); brightness, reflectivity (0–1) and transparency (0–1) fine-tune. Library materials (t3d_material_list → library ids such as lib_brick, lib_oak, lib_chrome) add a texture (and often a normal map). Textures are box-projected (our cages carry no UVs): the image is projected along each face's dominant axis and repeats `tile` times across the object's LARGEST dimension — tile 1 = one repeat per object size, not per metre. To get real-world scale, pass tileSize_m (the real size of one repeat in metres, e.g. 2 for a 2 m brick texture): the server computes tile = largest_extent / tileSize_m. Omit it and the library's typical realTile_m is used. tileSizeV_m sets a different repeat along the second axis, angle_deg rotates the projection. Doo-Sabin smoothing does not change the projection, so materials survive every cage edit. Materials are per object; colours (t3d_object_color) are per face and show through only on untextured objects. Typical calls: floor plate 6×4 m with oak planks at real scale → t3d_object_material {library:\"lib_oak\", tileSize_m:1.5}; a brushed copper knob → {library:\"lib_copper\"} (metal family is tinted via color); clear glass → {finish:\"glas\", transparency:0.7}. Note: a textured object shows the texture instead of its face colours; set library \"none\" to go back to finish + colours.","recipes":"Recipes (t3d_object_add): box{center,size} · sphere{center,diameter,res 1–4} · torus{center,ringRadius,tubeRadius,axis x|y|z} · cylinder{center,radius,height,sides 3–64} · lathe{position,profile:[[radius,height],…] bottom→top,segments} · prism{position,points:[[x,z],…],height}. softedge:true makes Doo-Sabin cages (rounded) — for a smooth bottle use few sides (8–12) and let the subdivision round it; for an exact screw thread use hardedge. Blueprints (t3d_blueprint_list/place) give dimensioned reference bodies to model around. Import your own polygon meshes with t3d_scene_import (left-handed, Y up, metres; objects[] = several named objects in one call, faceColors per face) — one object per thing, see topic objects. Coordinates: X right, Y up (ground y=0), Z depth, metres.","tiling":"Textures are box-projected (our cages carry no UVs): the image is projected along each face's dominant axis and repeats `tile` times across the object's LARGEST dimension — tile 1 = one repeat per object size, not per metre. To get real-world scale, pass tileSize_m (the real size of one repeat in metres, e.g. 2 for a 2 m brick texture): the server computes tile = largest_extent / tileSize_m. Omit it and the library's typical realTile_m is used. tileSizeV_m sets a different repeat along the second axis, angle_deg rotates the projection. Doo-Sabin smoothing does not change the projection, so materials survive every cage edit. Materials are per object; colours (t3d_object_color) are per face and show through only on untextured objects."},"materials":{"finishes":["standard","kunststoff","keramik","beton","silber","alu","gold","glas"],"library":[{"id":"lib_brick","name":"Brick wall (red)","category":"walls","realTile_m":2},{"id":"lib_concrete","name":"Concrete wall","category":"walls","realTile_m":2},{"id":"lib_damask","name":"Damask wallpaper","category":"walls","realTile_m":1},{"id":"lib_wood","name":"Wood floor deck","category":"floors","realTile_m":2},{"id":"lib_parquet","name":"Parquet herringbone","category":"floors","realTile_m":1.5},{"id":"lib_oak","name":"Oak planks","category":"floors","realTile_m":1.5},{"id":"lib_checkfloor","name":"Marble checkerboard","category":"floors","realTile_m":1},{"id":"lib_marble","name":"Marble","category":"stone","realTile_m":1.5},{"id":"lib_rock","name":"Rock wall","category":"nature","realTile_m":2},{"id":"lib_bark","name":"Tree bark","category":"nature","realTile_m":1},{"id":"lib_hedge","name":"Hedge (green)","category":"nature","realTile_m":1},{"id":"lib_hedge_aut","name":"Hedge (autumn)","category":"nature","realTile_m":1},{"id":"lib_grass","name":"Meadow (grass & rock, aerial)","category":"ground","realTile_m":4},{"id":"lib_mud","name":"Forest floor (mud & leaves)","category":"ground","realTile_m":3},{"id":"lib_sand","name":"Gravel (sandy)","category":"ground","realTile_m":3},{"id":"lib_metal","name":"Metal plate","category":"metal","realTile_m":1},{"id":"lib_plate2","name":"Steel sheet","category":"metal","realTile_m":1},{"id":"lib_rust","name":"Rusty metal","category":"metal","realTile_m":1.5},{"id":"lib_corroded","name":"Corroded green metal","category":"metal","realTile_m":1.5},{"id":"lib_brushed","name":"Brushed metal","category":"metal","realTile_m":0.5},{"id":"lib_alu","name":"Aluminium (brushed)","category":"metal","realTile_m":0.5},{"id":"lib_chrome","name":"Chrome","category":"metal","realTile_m":0.5},{"id":"lib_copper","name":"Copper","category":"metal","realTile_m":0.5},{"id":"lib_gold","name":"Gold (brushed)","category":"metal","realTile_m":0.5},{"id":"lib_rosegold","name":"Rose gold","category":"metal","realTile_m":0.5},{"id":"lib_glasscer","name":"Glass ceramic (hob)","category":"surfaces","realTile_m":0.6},{"id":"lib_camo_us","name":"Camo woodland","category":"fabric","realTile_m":1},{"id":"lib_camo_jgl","name":"Camo jungle","category":"fabric","realTile_m":1},{"id":"lib_camo_win","name":"Camo winter","category":"fabric","realTile_m":1},{"id":"lib_camo_dig","name":"Camo digital","category":"fabric","realTile_m":1},{"id":"lib_camo_dwin","name":"Camo digital winter","category":"fabric","realTile_m":1},{"id":"lib_forest_air","name":"Conifer forest (aerial)","category":"terrain","realTile_m":40},{"id":"lib_fields","name":"Fields (aerial)","category":"terrain","realTile_m":100},{"id":"lib_street","name":"Street, 2 lanes","category":"terrain","realTile_m":7},{"id":"lib_spruce","name":"Spruce tree billboard","category":"billboard","realTile_m":null},{"id":"lib_screen_ios","name":"Display iPhone (emissive)","category":"screens","realTile_m":null},{"id":"lib_screen_and","name":"Display Android (emissive)","category":"screens","realTile_m":null}]},"limits":{"plans":{"free":{"rpm":60,"daily":500,"maxKeys":5,"maxProjects":50,"maxObjectsPerScene":300,"maxFacesPerScene":200000,"maxPartsPerCall":60,"maxImportVerts":20000},"pro":{"rpm":300,"daily":10000,"maxKeys":20,"maxProjects":1000,"maxObjectsPerScene":1000,"maxFacesPerScene":1000000,"maxPartsPerCall":200,"maxImportVerts":100000},"sandbox":{"rpm":30,"daily":150,"maxKeys":0,"maxProjects":5,"maxObjectsPerScene":150,"maxFacesPerScene":60000,"maxPartsPerCall":40,"maxImportVerts":8000,"ttlHours":24},"unlimited":{"rpm":2000,"daily":1000000000,"maxKeys":100,"maxProjects":1000000000,"maxObjectsPerScene":5000,"maxFacesPerScene":5000000,"maxPartsPerCall":500,"maxImportVerts":500000}},"notes":"Only tools/call counts against the daily quota. 429 + Retry-After when exceeded."},"changelog":[{"version":"1.13.0","date":"2026-11-17","notes":"Humanoid figures: t3d_figure_library (about 680 motion clips, free), t3d_figure_create (a textured, rigged character from a text description plus clips; the first call only quotes the credits, confirm_credits starts it), t3d_figure_moves (more clips for a finished figure), t3d_figure_status, t3d_figure_place (one rigged object in a scene — or more clips for a figure already there). Needs the figure module on the account; not in the sandbox. t3d_scene_describe shows figureJob for figures made this way."},{"version":"1.12.2","date":"2026-11-17","notes":"Rigged characters (Tangibl3D 3e): a GLB with a skeleton — from Meshy auto-rigging and its animation library — imports as one object with skin weights, bones and motion clips. The API keeps them intact through every read and write: t3d_scene_describe lists bones and clips (rig), t3d_object_clone copies the figure, move/rotate/scale tools carry the skin along (the placement is recovered from the vertices). t3d_object_split refuses rigged objects, t3d_rig_set chooses the playing clip, autoplay, loop and speed. Tools that change the vertex list (extrude, bridge, merge) drop the skin."},{"version":"1.12.1","date":"2026-11-12","notes":"Tangibl3D imports textured models in the editor (Meshy zips, FBX, GLB, OBJ) with their own UV coordinates and PBR maps (base colour, normal, roughness/metal). The API keeps them intact: scene files carry the per-vertex UVs through every read and write, t3d_scene_describe marks such objects with material.uvTextured and counts pieces and closedness across UV seams, t3d_object_split keeps UVs and textures on every part. Tools that change the vertex list of such an object (extrude, bridge, merge) drop its UVs; transform, colour, group, clone and split are safe."},{"version":"1.12.0","date":"2026-11-10","notes":"2Dream images are stored once and linked: every raster picture a document receives (URL or data URL, also pictures already embedded in older documents) becomes its own content-addressed object, the document only references it. Documents with many pictures shrink from hundreds of MB to a few hundred kB, calls on them take well under a second, and the same picture on several pages or in several versions costs nothing extra."},{"version":"1.11.2","date":"2026-11-09","notes":"Storage: MCP saves no longer pile up full copies of a document. The state before an agent run becomes a backup version (editor: Backup-Verlauf, last 10), intermediate states of the same run replace each other, long runs get a restore point every 30 minutes. Clear error when the server storage is full."},{"version":"1.11.1","date":"2026-11-09","notes":"Book typesetter: page-break rules (widows/orphans ≥ 2 lines, headings keep 3 lines and move below ⅔ of the page, chapter end ≥ 5 lines, spread register) fixed by letter-spacing single paragraphs or moving lines; every decision is logged (status.decisions, d2_book_typeset/d2_book_get); d2_book_set {breaks} tunes the rules; fix: paragraph state across linked frames (widow rule, first-line indent, list markers, space-before at page top)."},{"version":"1.11.0","date":"2026-11-07","notes":"Book author (d2_book_*): a book is a manuscript, never a layout. d2_book_howto → d2_book_create (title, language, one of 8 layout types, fonts, voice, audience, chapter plan, illustration style sheet) → loop d2_book_submit chapter by chapter (Markdown-light; every result names the next unit) → d2_book_image for illustrations (url upload, or server-side generation) → d2_book_typeset / d2_doc_share. The typesetter is deterministic code: chapter openers on right-hand pages with blank versos, running heads and folios, contents with leaders and page numbers, half- and full-page illustrations at their anchors, chapter end-notes, widow/orphan control. Server page breaks are estimates; the 2Dream editor and viewer re-set the book with exact font metrics on opening. d2_book_flatten turns the locked book pages into ordinary editable frames."},{"version":"1.10.0","date":"2026-11-06","notes":"Built-in agent, traces and a checker: t3d_scene_check scores a scene 0–100 with flags (generic names, objects made of many disconnected pieces, open cages, size outliers, objects below the ground) — run it before you finish. t3d_scene_create takes a brief (what the scene is for) and t3d_scene_brief sets it later; t3d_scene_describe returns it. Every tool call is now recorded with its arguments and result (basis for the Tangibl3D CAD model). The editor gained an Agent mode (🤖 in the AI dialog) that runs these tools step by step on the server."},{"version":"1.9.0","date":"2026-11-06","notes":"One object per thing: t3d_howto topic objects and the server instructions explain that a chair, a door, a window, a wheel is its own named object — never one mesh per material or layer holding every item of the house. t3d_scene_import takes objects[] (several named objects per call) and faceColors, and reports islands (disconnected pieces) per object with a hint. New: t3d_object_clone (copies with placements, assemblies, name counting), t3d_object_split (clusters | islands; colours, materials and tags travel with the faces), t3d_object_group (editor groups: a click selects the assembly). t3d_scene_describe lists groups and warns about objects with many disconnected pieces; object descriptions carry islands."},{"version":"1.8.2","date":"2026-11-03","notes":"t3d_scene_share: nav (orbit | spin | walk) and player {controls, autoplay, click_cameras, loop, grid, helpers, lock} configure the shared player; the link stores the configuration (?ui=…, ?play=…, ?loop=0, ?grid=1, ?helpers=1, ?lock=…) and the answer includes the iframe embed code; the player gained a Stop button (double-click = from the start), ?loop=0 (play once) and a navigation hint line."},{"version":"1.8.1","date":"2026-11-01","notes":"t3d_avatar: start point, view direction, eye height and walking speed for the first-person walk mode (?nav=walk); the player hides control paths, camera/light gizmos and the avatar by default (eye button bottom-right or ?helpers=1); t3d_anim_describe and t3d_scene_describe report the avatar; t3d_scene_share documents the viewer URL parameters."},{"version":"1.8.0","date":"2026-11-01","notes":"Animation module for agents: t3d_anim_describe, t3d_anim_scene (timeline segments, duration, start camera, perspective depth), t3d_anim_track (entry/exit effects, keyframe offsets, path following), t3d_anim_camera (camera rides: keyframes or a control-path ride looking ahead / at the centre / at an object), t3d_path_add (control paths), t3d_camera_add (named cameras), t3d_anim_event (labels, goto loops, scene switches, prompts, sounds), t3d_interact_set (clickable objects). t3d_howto topic animation. The MCP now keeps object ids in the scene file (tracks and paths stay bound after MCP edits) and keeps per-object data aligned when objects are removed or merged. Viewer: play/pause bottom-left, controls fade during playback (video-player style), camera rides play in shared links."},{"version":"1.7.0","date":"2026-10-30","notes":"Joints for closed shapes, assemblies and repairs: t3d_mesh_bridge (ONE new tunnel segment between two faces with equal corner counts — inside one object or across objects, partner face picked automatically) and t3d_mesh_merge (two opposite faces welded into a seamless joint: corners fused, both faces removed, no new segment; dock-and-weld across objects; anchor a | b | mid). Both return the new face indices (segment / seamFaces), closedness and an Euler topology check. t3d_turtle carries its frame along within a call (arcs continue past vertical: rings, spirals). t3d_howto topic joints."},{"version":"1.6.0","date":"2026-10-29","notes":"Tangibl3D modelling for agents: t3d_howto (Doo-Sabin cages, soft shapes by extrude + squeeze, the 3D turtle), t3d_turtle (extrude / squeeze / pitch / yaw / roll steps that return the new head), t3d_face_transform (the gizmo on a face selection), t3d_object_faces (find faces by direction, size, position), t3d_material_list + t3d_object_material (finishes, texture library with real-world tile sizes — tileSize_m computes the tiling from the object extent). t3d_scene_describe now reports the material. Guides also in docs.json (guides)."},{"version":"1.5.0","date":"2026-10-28","notes":"Body text (Fließtext) first-class in 2Dream: d2_text_story (running copy through linked frames, across pages), d2_text_link, d2_wire_fill (fill a blueprint frame in one call). d2_node_add text = flow frame by default with valign/columns/padding/autofit/hyphenation and auto height; art text is fitted to its proportions (no distortion); d2_node_transform resizes text frames without scaling glyphs; d2_doc_describe reports text_mode, story chains and overflow estimates and warns about objects on non-printing layers; d2_doc_svg wraps flow text and hides wireframes. Fix: objects added to exposé documents landed on the non-printing Wireframes layer and never showed in the viewer/PDF."},{"version":"1.4.0","date":"2026-10-18","notes":"2Dream blueprint: d2_expose_start (report | yearbook | menu | letter | flyer | website skeletons), d2_wire_list/add/set (wireframe frames with prompts, data binding, status), d2_ci_get/set (corporate identity: colours with roles, fonts, logos). Agents read the blueprint, create the content with d2_node_add, mark frames done."},{"version":"1.3.0","date":"2026-10-17","notes":"2Dream tools (d2_*): documents, pages, rect/ellipse/line/polygon/path/text/image in millimetres, update/transform/order/group, SVG render, share links view|sign|sandbox — same endpoint, same sandbox."},{"version":"1.2.0","date":"2026-09-13","notes":"Sandbox endpoint /mcp/sandbox without account (X-Agent-Id, 24 h TTL, tight limits); per-request context isolation."},{"version":"1.1.0","date":"2026-09-13","notes":"Rate limits, daily quotas, scene/payload caps, public docs.json, doc.api.show-real.com."},{"version":"1.0.0","date":"2026-09-13","notes":"First MCP release: scenes, recipe objects, transform/color/delete, extrude/collapse/heal/subdivide, blueprints, import, share links."}]}