{"methods":{"finishEpisode":{"description":"Finish the episode with an explicit measured outcome and reason.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"boolean"},{"type":"string"}],"items":false,"minItems":2,"maxItems":2}},"setReward":{"description":"Set scalar or vector reward for this tick.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}],"items":false,"minItems":1,"maxItems":1}},"setObservation":{"description":"Set scalar or vector task observation.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}],"items":false,"minItems":1,"maxItems":1}},"stack":{"description":"Start the existing multi-object stack task; inspect taskStatus for its measured outcome.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"pickPlace":{"description":"Start the existing pick/place task.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"pickInto":{"description":"Start the existing pick-into-container task.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"taskStatus":{"description":"Read the current manipulation task state.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}},"contacts":{"description":"Read measured contacts for an entity ID or name.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"contactPair":{"description":"Read contacts between two entities.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2}},"contactAny":{"description":"Whether this entity currently has a contact.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"pose":{"description":"Read a robot body tool-frame pose; offset is body-local.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"solveIK":{"description":"Solve IK without applying the result; validate model-specific limits.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"entities":{"description":"List current runtime entities, including spawned bodies.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}},"find":{"description":"Find an entity by ID or name.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"addComponent":{"description":"Add a sandboxed Behavior or supported runtime component.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"removeComponent":{"description":"Remove a behavior by ID/name or a supported component from an entity.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}]}},"spawn":{"description":"Spawn a primitive through existing physics validation; returns runtime entity ID.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"destroy":{"description":"Destroy an entity previously spawned at runtime.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"playAnimation":{"description":"Start a declared animation clip by ID/name.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"stopAnimation":{"description":"Stop a declared animation clip.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"animationList":{"description":"List authored animations and runtime playback state.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}},"log":{"description":"Append an engine log message.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string"}],"items":false,"minItems":1,"maxItems":1}},"robots":{"description":"Read compiled robot metadata.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}},"controls":{"description":"Read current robot actuator controls.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"setControls":{"description":"Set actuator targets; step then inspect measured joints.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","items":{"type":"number"}}],"items":false,"minItems":2,"maxItems":2}},"trajectory":{"description":"Start a bounded trajectory. Request contains segments and optional measure.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"trajectoryStatus":{"description":"Read actual trajectory progress and measured error.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"joint":{"description":"Read a named joint from an explicit robot instance.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":2,"maxItems":2}},"position":{"description":"Read entity world position in meters.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"rotation":{"description":"Read entity world rotation in radians.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"localPosition":{"description":"Read position relative to the parent.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"localRotation":{"description":"Read rotation relative to the parent.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"parent":{"description":"Read parent entity ID.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"force":{"description":"Schedule world-space force for the next physics tick, each component bounded to ±1000 N.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"raycast":{"description":"Cast a ray in the real collision scene.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}]}},"imu":{"description":"Read entity inertial measurements.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"forceSensor":{"description":"Read measured force/contact sensor output.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}},"lidar":{"description":"Sample actual lidar rays; supply entity or world position.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"grasp":{"description":"Request a validated physical grasp constraint.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"releaseGrasp":{"description":"Release all grasps or one matching handle/object/robot.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0},{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200}],"items":false,"minItems":1,"maxItems":1}]}},"grasps":{"description":"Read current physical grasp constraints.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}},"randomize":{"description":"Apply existing bounded seeded domain randomization.","readOnly":false,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","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}},"policyAct":{"description":"Evaluate an already registered engine policy; no model registration is implied.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":200},{"type":"array","items":{"type":"number"}}],"items":false,"minItems":2,"maxItems":2}},"policyList":{"description":"List policies registered in this runtime.","readOnly":true,"argsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"type":"array","prefixItems":[],"items":false,"maxItems":0}}},"notes":"Raw bridge tuples include explicit robot/entity IDs. Existing engine validators enforce live model invariants."}