{"name":"Lucky Engine","version":"1.0.0","canonicalHost":"https://web.luckyrobots.com","baseUrl":"https://web.luckyrobots.com","discovery":{"convention":"Application-specific /agent/manifest.json advertised by Link and /llms.txt; not a standardized well-known discovery protocol.","openapi":"/agent/openapi.json","bootstrap":"/llms.txt","guide":"/agents","scripting":"/agent/scripting.json","skill":"/agent/SKILL.md","cli":"/agent/lucky.mjs","prompts":"/agent/prompts.json","projectSchema":"/agent/project.schema.json","snapshotSchema":"/agent/snapshot.schema.json","sceneSchema":"/agent/scene.schema.json","engineMethods":"/agent/engine-methods.json","tutorial":"/tutorial.html","agentGuide":"/agent/AGENT-GUIDE.md","workflows":"/agent/workflows.json","motions":"/agent/MOTIONS.md","recording":"/agent/RECORDING.md","tasks":"/agent/TASK-EXECUTION.md","scriptingGuide":"/agent/SCRIPTING.md"},"authentication":{"type":"personal-api-key","header":"Authorization: Bearer <key>","issue":"Sign in → Settings → Agent connections","scopes":"/api/v1/keys","oauth":false},"transports":{"http":"/api/v1/execute","mcp":"/mcp","mcpTransport":"Streamable HTTP, stateless, bearer-header authentication (not OAuth)"},"runtime":{"execution":"Actual browser worker with MuJoCo, Three.js and the existing recording encoder","coordination":"Cloudflare D1 leases and ordered acknowledged jobs","runner":"node lucky.mjs runner --session <id>","leaseSeconds":30,"heartbeatSeconds":5,"closedRuntime":"Commands are rejected or become unknown; queued is never completed.","revision":"Require current generation/revision and UUID idempotencyKey; poll job URL."},"coordinates":{"length":"meters","angle":"radians except camera fov degrees","time":"seconds","upAxis":"Z","authoredTransforms":"world coordinates","defaultPhysicsTickSeconds":0.002,"supportedPhysicsTickSeconds":[0.002,0.005],"physicsTimestep":"Read Project.physicsTimestep; absent means 0.002. The compiled model timestep is authoritative. Step count is physics ticks, not policy inferences or video frames.","controls":"model actuator units; discover robot metadata"},"learnedMotions":{"status":"implemented","contract":"mjlab-fused-g1-v1","operations":["asset.import","motion.list","motion.attach","simulation.command","runtime.inspect","recording.run","project.save"],"guide":"/agent/MOTIONS.md","tutorial":"/tutorial.html#g1","example":"/motions/g1-aiming.lucky.zip","requirements":["Compatible floating-base G1 with 29 controlled joints and matching native PD actuators.","Prepared fused ONNX with embedded normalization/reference outputs, exact joint order, action scale, gains, frame-zero pose/velocities and explicit timestep.","Scene timestep 0.002 or 0.005 seconds; integral physics steps per policy action; all attached motions in a scene must agree.","Enabled motion owns robot control; disable or detach before manual controls, behaviors or other controllers."],"statusPath":"runtime.inspect → simulation.motions[robotId]","recording":"30 fps rows/video; physics_hz, per-tick raw_ctrl_ticks, per-inference motion_trace and frame-zero initial_state are retained. Replay restores initial state and uses recorded controls without inference.","completion":"finished-reference ends the clip; it does not establish task success.","unsupported":["Arbitrary ONNX adapters","Generic velocity-command locomotion","Automatic policy blending or recovery","In-browser training"]},"operations":{"account.get":{"description":"Read your verified account and current access policy.","location":"cloud","scope":"projects:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"profile.update":{"description":"Update your public display name and avatar.","location":"cloud","scope":"profile:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string","minLength":1,"maxLength":60},"avatar":{"type":"string","enum":["sage","sky","lavender","amber","coral"]}},"required":["displayName","avatar"],"additionalProperties":false}},"projects.list":{"description":"Search the admitted community or your owned projects.","location":"cloud","scope":"projects:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scope":{"default":"mine","type":"string","enum":["mine","community"]},"q":{"type":"string","maxLength":100},"offset":{"type":"integer","minimum":0,"maximum":10000}},"required":["scope"],"additionalProperties":false}},"project.get":{"description":"Read project ownership, revision, package hash and remix provenance.","location":"cloud","scope":"projects:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["projectId"],"additionalProperties":false}},"project.create":{"description":"Create an owned public empty workcell. Reuse the same projectId/writeId when retrying.","location":"cloud","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"writeId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":100}},"required":["projectId","writeId","name"],"additionalProperties":false}},"project.remix":{"description":"Create an attributed owned copy of any admitted community project.","location":"cloud","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"newProjectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["projectId","newProjectId"],"additionalProperties":false}},"project.star":{"description":"Set or remove your unique star on a community project.","location":"cloud","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"starred":{"type":"boolean"}},"required":["projectId","starred"],"additionalProperties":false}},"project.describe":{"description":"Edit an owned project description.","location":"cloud","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":{"type":"string","minLength":1,"maxLength":2000}},"required":["projectId","description"],"additionalProperties":false}},"runtime.create":{"description":"Create an offline session for an owned project. Start the downloadable runner or connect an editor before commands.","location":"cloud","scope":"runtime:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"default":"Agent runtime","type":"string","minLength":1,"maxLength":80}},"required":["projectId","name"],"additionalProperties":false}},"runtimes.list":{"description":"List your sessions, heartbeat status, generations and revisions.","location":"cloud","scope":"runtime:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"artifacts.list":{"description":"List your captured images, MP4 videos, datasets and exported projects.","location":"cloud","scope":"artifacts:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false}},"catalog.robots":{"description":"List bundled robot models, asset URLs and import metadata.","location":"cloud","scope":"projects:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"runtime.inspect":{"description":"Read the actual validated scene, compiled robots, simulation state, logs, errors, recording status and physical outcomes.","location":"runtime","scope":"runtime:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"project.save":{"description":"Save the current authored scene as a portable cloud ZIP using optimistic revision protection.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"project.export":{"description":"Export the current scene and all referenced assets as a downloadable portable ZIP.","location":"runtime","scope":"artifacts:write","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"scene.replace":{"description":"Replace the authored document through the same project validator; reload real physics. Requires current session revision.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"$ref":"/agent/project.schema.json"}},"required":["project"],"additionalProperties":false}},"scene.patch":{"description":"Atomically edit authored scene properties using JSON Pointer add/replace/remove. Covers hierarchy, transforms, materials, lights, cameras, components, sensors, task rewards, clips, prefabs and parameters; validates the full result.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"changes":{"minItems":1,"maxItems":256,"type":"array","items":{"type":"object","properties":{"op":{"type":"string","enum":["add","replace","remove"]},"path":{"type":"string","minLength":1,"maxLength":500},"value":{}},"required":["op","path"],"additionalProperties":false}}},"required":["changes"],"additionalProperties":false}},"scene.add":{"description":"Add an empty scene to the project and select it.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"],"additionalProperties":false}},"scene.select":{"description":"Select a saved scene by ID; reloads physics.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sceneId":{"type":"string","minLength":1}},"required":["sceneId"],"additionalProperties":false}},"robot.add":{"description":"Add a bundled or imported robot to the active scene. Panda uses assetId panda.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assetId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":80},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"rotation":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}},"required":["assetId"],"additionalProperties":false}},"asset.import":{"description":"Import an uploaded robot ZIP, GLB mesh, prepared mjlab ONNX policy or portable project from an owned artifact. Existing checksum/import validation applies.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"artifactId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["robot","mesh","motion","project"]},"entry":{"type":"string","maxLength":300},"name":{"type":"string","maxLength":100}},"required":["artifactId","kind"],"additionalProperties":false}},"motion.list":{"description":"List imported motion assets and their robot execution contracts on this editor device.","location":"runtime","scope":"projects:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"motion.attach":{"description":"Attach an imported motion to a compatible robot and use its physics timestep. Set assetId to null to detach. Play and Record run enabled motions; Reset restores entry state.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"robotId":{"type":"string","minLength":1},"assetId":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}]},"enabled":{"default":true,"type":"boolean"}},"required":["robotId","assetId","enabled"],"additionalProperties":false}},"behavior.put":{"description":"Add or replace a sandboxed JavaScript behavior and parameters. Code executes only inside the existing QuickJS engine sandbox.","location":"runtime","scope":"projects:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"entity":{"type":"string","minLength":1},"name":{"type":"string","minLength":1,"maxLength":100},"source":{"type":"string","maxLength":100000},"enabled":{"default":true,"type":"boolean"},"parameters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["number","boolean","string"]}}},"required":["id","entity","name","source","enabled"],"additionalProperties":false}},"simulation.command":{"description":"Execute acknowledged play/pause/step/reset or controls/input/debug commands. Step count is physics ticks at Project.physicsTimestep (default 0.002 seconds; also supports 0.005), at most 5000. Reset supports an unsigned seed. Read actual snapshot afterward.","location":"runtime","scope":"runtime:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"play"},"args":{"default":{},"type":"object","properties":{},"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"pause"},"args":{"default":{},"type":"object","properties":{},"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"snapshot"},"args":{"default":{},"type":"object","properties":{},"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"debug-step"},"args":{"default":{},"type":"object","properties":{},"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"debug-continue"},"args":{"default":{},"type":"object","properties":{},"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"step"},"args":{"default":{"count":1},"type":"object","properties":{"count":{"default":1,"type":"integer","minimum":1,"maximum":5000}},"required":["count"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"reset"},"args":{"default":{"seed":0},"type":"object","properties":{"seed":{"default":0,"type":"integer","minimum":0,"maximum":4294967295}},"required":["seed"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"controls"},"args":{"type":"object","properties":{"joints":{"maxItems":64,"type":"array","items":{"type":"number"}},"gripper":{"type":"number"}},"required":["joints","gripper"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"actuators"},"args":{"type":"object","properties":{"robotId":{"type":"string","minLength":1},"values":{"maxItems":1024,"type":"array","items":{"type":"number"}}},"required":["robotId","values"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"input"},"args":{"type":"object","properties":{"input":{"type":"object","properties":{"kind":{"type":"string","enum":["key","mouse"]},"code":{"type":"string","minLength":1,"maxLength":80},"edge":{"type":"string","enum":["press","release","cancel"]}},"required":["kind","code","edge"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"force-drag"},"args":{"type":"object","properties":{"drag":{"anyOf":[{"type":"object","properties":{"geom":{"type":"integer","minimum":0,"maximum":9007199254740991},"localPoint":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"target":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"maxForce":{"type":"number","minimum":1,"maximum":500}},"required":["geom","localPoint","target","maxForce"],"additionalProperties":false},{"type":"null"}]}},"required":["drag"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"set-breakpoints"},"args":{"type":"object","properties":{"breakpoints":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"maxItems":100,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}}},"required":["breakpoints"],"additionalProperties":false}},"required":["action","args"],"additionalProperties":false}]}},"engine.call":{"description":"Call an allowlisted real engine method with exact raw bridge arguments. See /agent/engine-methods.json. Inspect measured outcomes after execution.","location":"runtime","scope":"runtime:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"method":{"type":"string","const":"finishEpisode"},"args":{"type":"array","prefixItems":[{"type":"boolean"},{"type":"string"}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"setReward"},"args":{"type":"array","prefixItems":[{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"setObservation"},"args":{"type":"array","prefixItems":[{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"stack"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"robot":{"type":"string","minLength":1,"maxLength":200},"objects":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"target":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"shuffle":{"type":"boolean"}},"required":["robot","objects","target"],"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"pickPlace"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"robot":{"type":"string","minLength":1,"maxLength":200},"objects":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"target":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"shuffle":{"type":"boolean"}},"required":["robot","objects","target"],"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"pickInto"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"robot":{"type":"string","minLength":1,"maxLength":200},"objects":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"container":{"type":"string","minLength":1,"maxLength":200},"shuffle":{"type":"boolean"}},"required":["robot","objects","container"],"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"taskStatus"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contacts"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contactPair"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contactAny"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"pose"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}},"required":["body","offset"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"solveIK"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"joints":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"quaternion":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":4,"maxItems":4}},"required":["body","offset","joints","position"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"entities"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"find"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"addComponent"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"Behavior"},"name":{"type":"string","minLength":1,"maxLength":80},"source":{"type":"string","minLength":1,"maxLength":50000},"parameters":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["number","boolean","string"]}}},"required":["name","source"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"Mesh"},"color":{"type":"string"},"finish":{"type":"string","enum":["matte","satin","metal","gloss"]}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"RigidBody"},"mass":{"type":"number","minimum":0.01,"maximum":20},"friction":{"type":"number","minimum":0,"maximum":3}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"Collider"}},"required":["type"],"additionalProperties":false}]}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"removeComponent"},"args":{"anyOf":[{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","enum":["Mesh","RigidBody","Collider"]}],"items":false,"minItems":2,"maxItems":2}]},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"spawn"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"shape":{"type":"string","enum":["box","sphere","cylinder"]},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"size":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"rotation":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"mass":{"type":"number"},"friction":{"type":"number"},"color":{"type":"string"}},"required":["shape","position","size"],"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"destroy"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"playAnimation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"stopAnimation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"animationList"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"log"},"args":{"type":"array","prefixItems":[{"type":"string"}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"robots"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"controls"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"setControls"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","items":{"type":"number"}}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"trajectory"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"object","properties":{"segments":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"target":{"anyOf":[{"type":"array","items":{"type":"number"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}}]},"duration":{"type":"number","minimum":0.0001,"maximum":600}},"required":["target","duration"],"additionalProperties":false}},"measure":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"quaternion":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":4,"maxItems":4}},"required":["body","offset","position"],"additionalProperties":false}},"required":["segments"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"trajectoryStatus"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"joint"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"position"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"rotation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"localPosition"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"localRotation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"parent"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"force"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","prefixItems":[{"type":"number","minimum":-1000,"maximum":1000},{"type":"number","minimum":-1000,"maximum":1000},{"type":"number","minimum":-1000,"maximum":1000}],"items":false,"minItems":3,"maxItems":3}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"raycast"},"args":{"anyOf":[{"type":"array","prefixItems":[{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}],"items":false,"minItems":2,"maxItems":2},{"type":"array","prefixItems":[{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":1000},{"type":"null"}]}],"items":false,"minItems":3,"maxItems":3}]},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"imu"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"forceSensor"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"lidar"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"entity":{"type":"string","minLength":1,"maxLength":200},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"forward":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"count":{"type":"integer","minimum":1,"maximum":720},"fov":{"type":"number","exclusiveMinimum":0,"maximum":6.283185307179586},"maxRange":{"type":"number","exclusiveMinimum":0,"maximum":1000}},"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"grasp"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"robot":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","minLength":1,"maxLength":200},"object":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"tolerance":{"type":"number","minimum":0.001,"maximum":0.5}},"required":["robot","body","object"],"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"releaseGrasp"},"args":{"anyOf":[{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}]},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"grasps"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"randomize"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"poses":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":20},"y":{"type":"number","minimum":0,"maximum":20},"z":{"type":"number","minimum":0,"maximum":20},"yaw":{"type":"number","minimum":0,"maximum":3.141592653589793}},"additionalProperties":false},"mass":{"type":"object","properties":{"factor":{"type":"number","minimum":0,"maximum":1}},"required":["factor"],"additionalProperties":false},"friction":{"type":"object","properties":{"factor":{"type":"number","minimum":0,"maximum":1}},"required":["factor"],"additionalProperties":false},"lighting":{"type":"object","properties":{"intensity":{"type":"number","minimum":0,"maximum":1}},"required":["intensity"],"additionalProperties":false}},"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"policyAct"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","items":{"type":"number"}}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"policyList"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false}]}},"engine.inspect":{"description":"Read actual engine state using an allowlisted read-only method. Does not start authored behaviors.","location":"runtime","scope":"runtime:read","mutates":false,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"method":{"type":"string","const":"taskStatus"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contacts"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contactPair"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"contactAny"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"pose"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}},"required":["body","offset"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"solveIK"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200},"offset":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"joints":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"quaternion":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":4,"maxItems":4}},"required":["body","offset","joints","position"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"entities"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"find"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"animationList"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"robots"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"controls"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"trajectoryStatus"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"joint"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"position"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"rotation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"localPosition"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"localRotation"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"parent"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"raycast"},"args":{"anyOf":[{"type":"array","prefixItems":[{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}],"items":false,"minItems":2,"maxItems":2},{"type":"array","prefixItems":[{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":1000},{"type":"null"}]}],"items":false,"minItems":3,"maxItems":3}]},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"imu"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"forceSensor"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"lidar"},"args":{"type":"array","prefixItems":[{"type":"object","properties":{"entity":{"type":"string","minLength":1,"maxLength":200},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"forward":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"count":{"type":"integer","minimum":1,"maximum":720},"fov":{"type":"number","exclusiveMinimum":0,"maximum":6.283185307179586},"maxRange":{"type":"number","exclusiveMinimum":0,"maximum":1000}},"additionalProperties":false}],"items":false,"minItems":1,"maxItems":1},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"grasps"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"policyAct"},"args":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","items":{"type":"number"}}],"items":false,"minItems":2,"maxItems":2},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false},{"type":"object","properties":{"method":{"type":"string","const":"policyList"},"args":{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},"entity":{"type":"string","minLength":1,"maxLength":200}},"required":["method","args"],"additionalProperties":false}]}},"view.configure":{"description":"Set viewport home/focus/interior view, grid, collision view or photographic quality.","location":"runtime","scope":"runtime:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","enum":["home","focus","interior","grid","collisions","photographic"]},"entity":{"type":"string"},"enabled":{"type":"boolean"}},"required":["action"],"additionalProperties":false}},"capture.image":{"description":"Capture an actual rendered scene camera as a downloadable PNG. Camera coordinates are meters, Z up.","location":"runtime","scope":"artifacts:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"width":{"default":512,"type":"integer","minimum":64,"maximum":1920},"height":{"default":512,"type":"integer","minimum":64,"maximum":1080},"cameraId":{"type":"string"}},"required":["width","height"],"additionalProperties":false}},"recording.run":{"description":"Reset and record a synchronized LeRobot v3 episode plus actual H.264 MP4. Poll job progress; cancel discards incomplete output. Physics/action timestamps use the existing fixed-step sampler.","location":"runtime","scope":"artifacts:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"seconds":{"default":3,"type":"number","minimum":0.1,"maximum":90},"size":{"default":256,"anyOf":[{"type":"number","const":256},{"type":"number","const":512},{"type":"number","const":720},{"type":"number","const":1080}]},"seed":{"default":0,"type":"integer","minimum":0,"maximum":4294967295},"mode":{"default":"manual","type":"string","enum":["manual","push-example"]}},"required":["seconds","size","seed","mode"],"additionalProperties":false}},"recording.batch":{"description":"Record a bounded sequence of real reset episodes, one per supplied seed; each has independently synchronized dataset/video artifacts.","location":"runtime","scope":"artifacts:write","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"seeds":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":4294967295}},"seconds":{"default":3,"type":"number","minimum":0.1,"maximum":90},"size":{"default":256,"anyOf":[{"type":"number","const":256},{"type":"number","const":512},{"type":"number","const":720},{"type":"number","const":1080}]}},"required":["seeds","seconds","size"],"additionalProperties":false}},"provider.request":{"description":"Use existing paid AI/Blender/Jev endpoints under account and shared quotas. Ordinary deterministic operations do not use this.","location":"cloud","scope":"paid:use","mutates":true,"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"endpoint":{"type":"string","enum":["status","models","turn","blender","jev"]},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["endpoint"],"additionalProperties":false}}},"existingCapabilities":[{"group":"Scenes & entities","capabilities":[{"name":"Blank scenes & hierarchy editing","status":"available","detail":"Blank scenes, hierarchy selection, names, move/rotate handles, duplicate/delete primitives, undo/redo, portable project ZIPs."},{"name":"Entity parenting & empty entities","status":"available","detail":"Parent/child transform hierarchies, empty transform-only group nodes, world and local transform readback."},{"name":"Reusable prefabs","status":"partial","detail":"Save an object subtree and its attached behaviors; instances get independent IDs and entity-ID parameters. Robot/sensor component prefabs and hard-coded script references need further work."},{"name":"Multiple scenes per project","status":"available","detail":"More than one authored scene in one project with a switcher and per-scene autosave; the portable ZIP round-trips every scene."},{"name":"Runtime spawn / destroy","status":"partial","detail":"Scripts spawn and destroy transient dynamic box, sphere and cylinder bodies; Reset removes them. Runtime robots, imported meshes and prefabs are not supported."}]},{"group":"Assets & rendering","capabilities":[{"name":"MJCF ZIP/XML imports","status":"available","detail":"MJCF ZIP/XML imports, Menagerie starter library, multiple robot instances, primitives, color, perspective scene camera."},{"name":"glTF / mesh asset import","status":"available","detail":"Import a self-contained GLB, fit a convex collision proxy simplified to at most 256 vertices, and pin its scale by file checksum; skinning and animation are reported as unsupported."},{"name":"Material & texture editor","status":"available","detail":"Edit an object’s base color, roughness, metalness and albedo texture on primitives and imported meshes; authored values persist through save/reopen and reach the renderer, and an invalid texture is rejected with a named validation error."},{"name":"Editable light components","status":"available","detail":"Authorable directional/point/spot lights with intensity, color and shadows in Live and Photographic rendering."},{"name":"Animation & timeline","status":"partial","detail":"Object-translation and robot joint-target clips play through ctx.animation.play and persist with their scene. Clips are authored in project JSON; a visual timeline editor is not implemented."}]},{"group":"Scripts & components","capabilities":[{"name":"JavaScript editor & diagnostics","status":"available","detail":"JavaScript editor, completion, syntax diagnostics, lifecycle callbacks, entity queries, Inspector parameters, console, enabled behaviors."},{"name":"Collision / trigger callbacks","status":"available","detail":"Pair contact events and non-solid trigger volumes with enter/stay/exit. Enable Trigger volume in the Physics Inspector; objects pass through without contact impulses."},{"name":"Breakpoints & debugger","status":"available","detail":"Pause on a set line, step a 2 ms tick, inspect locals and ctx."},{"name":"Input bindings","status":"available","detail":"Authorable key/mouse actions with press/release edges."},{"name":"Runtime behavior attachment/removal","status":"available","detail":"Scripts attach/remove registered Behavior components on existing entities during an episode; attached behaviors receive fixed-step updates; removal stops updates; Reset restores the authored behavior set without changing authored starting data."},{"name":"Mutable component API","status":"available","detail":"Scripts add/remove Mesh, RigidBody and Collider components on existing primitive objects mid-episode: Mesh edits are render-only and change what is drawn and recorded without touching physics; RigidBody and Collider edits rebuild the compiled MuJoCo model with every other body’s state preserved, a failed rebuild is reported as an error, and Reset restores the authored component set. Transform, Camera and Robot components, runtime edits on robots/camera/table, and entity spawn/destroy are not covered."}]},{"group":"Robotics & physics","capabilities":[{"name":"MuJoCo dynamics & actuators","status":"available","detail":"MuJoCo dynamics, model-derived actuators, joint readback, initial poses, mass/friction, fitted convex collision meshes, hollow containers, collision inspection, mouse force tool, authorable hinges/slides and rigid attachments, scripted forces, tool poses, position-actuated IK, contact queries."},{"name":"Physics raycasts","status":"available"},{"name":"Grasp constraints","status":"available","detail":"Authorable end-effector↔payload grasps: a ball-joint connect constraint holds the payload to the end effector while its orientation stays free, so contacts remain physical; release on command; a failed grasp is reported rather than a teleport."},{"name":"Policy inference / ONNX","status":"partial","detail":"Prepared mjlab fused G1 ONNX policies can be imported, attached, played and recorded in the browser with ONNX Runtime. Models travel in project ZIPs. Joint order, gains, observations, initial state and control timing are checked; arbitrary ONNX contracts, generic locomotion commands and motion transitions are not supported."},{"name":"Motion graph & trajectories","status":"partial","detail":"Scripted joint-space trajectories support timing, blending and control arbitration. A motion-graph editor and collision-free planner are not implemented."}]},{"group":"Sensors & data","capabilities":[{"name":"RGB camera & synchronized recording","status":"available","detail":"One RGB camera, synchronized 30 fps H.264 video and action/state rows, LeRobot v3 export, deterministic replay evidence."},{"name":"Depth & segmentation","status":"available","detail":"A lossless 16-bit millimetre depth map and instance segmentation come from visible viewport meshes, including imported assets and runtime visibility, at the same frame indices and timestamps as RGB. Sensors use aspect-matched resolution capped at 256 px."},{"name":"Multiple robot-mounted cameras","status":"partial","detail":"Fixed and robot-mounted cameras record synchronized video, depth and segmentation, preserving mount roll. Configure cameras in project JSON; a camera-rig Inspector is not implemented."},{"name":"LiDAR, IMU & force sensors","status":"partial","detail":"Scripts query horizontal LiDAR, base orientation/velocity and net contact force. LiDAR can hit its own body; IMU is a state readback, not a modeled accelerometer/gyro. Dedicated sensor components and noise models are not implemented."},{"name":"Dataset browser & streaming capture","status":"available","detail":"Browse previously recorded episodes in-app — list, preview and re-export them identically — and stream capture to device-local storage; streaming produces the same Parquet/MP4 as the buffered path."},{"name":"Bounded-memory finalize","status":"planned","detail":"Stream the packaged archive out instead of assembling the whole take in worker memory; capture-time memory is already bounded to the current frame, but finalize still reads the persisted frames back to assemble the archive."}]},{"group":"Tasks & training","capabilities":[{"name":"Pick-and-place & stacking tasks","status":"available","detail":"Panda pick-and-place/stacking, stationary TALOS pick-and-place, measured outcomes, scripted episode boundaries, seeded reset and synchronized recording."},{"name":"Task / reward components","status":"partial","detail":"Project JSON defines observation, reward and termination scripts; the runtime validates shapes and records measured rewards. A task-definition editor is not implemented."},{"name":"Policy evaluation","status":"partial","detail":"A host replay helper validates recorded controls against state and task outcomes. Editor dataset replay and closed-loop policy evaluation are not implemented."},{"name":"Domain randomization","status":"available","detail":"Scripts perturb authored object poses, mass, friction and area-light intensity with ctx.randomize, keyed to the episode seed; randomized values are recorded in episode metadata and Reset restores the authored scene."},{"name":"Automatic batch collection","status":"partial","detail":"A headless helper runs seeded episodes in tests with supplied image frames. Automatic batches using the real viewport are not wired into the editor; use single-scene recording for actual scene video."},{"name":"Walking manipulation & humanoid policies","status":"planned","detail":"Walking manipulation and generic humanoid policies are not implemented."}]}],"examplesStatus":{"environment":"Compiled real editor and Worker with local D1/R2; identity verification fixture. No paid inference used.","panda":{"jointDeltaRadians":0.09357673857611683,"physicsTicks":500,"image":[512,512],"recordingFrames":30,"taskSuccess":"No task-success predicate authored for the sweep."},"juniper":{"physicalSuccess":true,"placed":2,"tick":17489,"simulatedSeconds":34.978,"reason":"2 objects placed and stable; bowl contacts verified.","recording":"Separate one-second reset episode, 30 frames; not the full task video."}}}