Tools by feature
This reference describes the v_ase 0.5.3 tool catalog. See scene workflows for compact inspection and visual edits.
The catalog below is generated from the same schemas used by MCP and native function tools. Inputs use snake_case. Scientific units are Angstrom and degrees; atom and frame indices are zero-based. Tool discovery provides complete nested types, bounds and conditions.
Ordinary editing tools also require expected_document_id and
expected_revision; these guards, optional request_id and response_profile are
omitted from the tables for readability. Interrupt controls may omit the
revision. See connection and recovery.
Discovery, guides and image inspection
Tool |
Purpose |
|---|---|
|
Find a bounded set of tools by feature or exact name. Returns short matches, not the full catalog or duplicate schemas. |
|
Read the exact typed schemas for at most four named tools. Use only when the host has not already supplied them. |
|
Read one short scientific workflow or an exact section, with bounded paging. Parameter schemas come from tools. |
|
Inspect an image artifact produced by this connection. MCP returns image content directly; native hosts embed the validated artifact bytes as an image, never as text. |
Rendered scene and visual transactions
Tool |
Purpose |
|---|---|
|
Change common figure settings in one visual transaction. For flat atoms and hidden bonds set atom_display_mode=’2d’ and show_bonds=false. Preserves camera, pair policies and every unmentioned setting. No geometry lookup is needed for… |
|
Inspect the actual rendered scene: camera/crop, interaction state and readiness. Add bounded geometry sections for renderer-resolved atom positions, periodic references and per-edge appearance. Start with the default summary for… |
|
Wait for frame, surface, plane, scalar-color and vector rendering to settle; reports pending work and errors without images. |
|
Apply one visual/frame transaction without changing stored scientific data. Requires document and revision guards. Unmentioned fields survive; background rendering settles before success. On failure restore the previous visual/frame… |
|
Select the exact plane IDs, or [] to clear plane selection. Optional clearAtoms/clearGizmos clear the other selection types. This changes interaction state only, never plane geometry or scientific arrays. |
Connection and collaboration
Tool |
Purpose |
|---|---|
|
Read the live GUI document. Start with summary; use a focused profile only when needed. Lengths are Angstrom, angles degrees, indices zero-based. |
|
Check that the shared human GUI is connected. |
|
List document tabs in the connected workspace. |
|
Create and activate an empty editable document tab in the shared workspace. |
|
Activate the requested human GUI tab. Describe again before any edit. |
|
Read the compact live feature catalog, including installed scientific capabilities. |
|
Poll human/agent collaboration events. Keep the returned cursor; after an event or gap, describe the live document before editing. |
Trajectory playback
Tool |
Purpose |
|---|---|
|
Set frame in the same live document. Review changedPaths in the result. |
|
Start or stop the selected trajectory timeline. Pause before scientific reads or edits; playback advances revisions and frames. |
|
Pause the active movie and synchronize its displayed frame. Requires document identity; revision is optional because playback keeps advancing it. |
Structure editing and construction
Tool |
Purpose |
|---|---|
|
Set mode in the same live document. Review changedPaths in the result. |
|
Set selection in the same live document. Review changedPaths in the result. |
|
Installed ASE bulk materials and supported crystal/cell choices. |
|
Preview ASE bulk geometry, cell and atom count without replacing the live structure. |
|
Requires a usable cell. View mode wraps the displayed atoms only; Edit mode wraps ASE positions with the requested constraint handling. |
|
Rigid physical translation without relaxation. coordinateMode is cartesian (Angstrom) or fractional (offset @ each frame’s cell). frameScope defaults to all; current changes only the displayed frame. Cell and constraints are retained,… |
|
Defines the 3 x 3 ASE cell without scaling atom coordinates. pbc defaults to [true,true,true]. This also creates a usable scratch document when no atoms have been loaded. |
|
Builds a periodic crystal with ase.build.bulk. Query /api/build/bulk/catalog/{session_id} for installed-ASE reference materials and compatible cell shapes, then preview through /api/build/bulk/preview/{session_id}. Custom compounds… |
|
reps contains three integers from 1 through 64. |
|
matrix is a 3 x 3 integer transformation matrix. |
|
Align each editable frame’s cell and atoms so a points along +X and b lies in XY. A left-handed cell is reflected to put c on the +Z side. One undo restores all frames. decimals defaults to 13. Use null to keep full precision. Remove… |
|
Prerequisites: label-or-element. |
|
View mode hides the exact selected visual instances without changing ASE atoms. Edit mode deletes the corresponding base atom indices from the physical structure. frameScope defaults to current; all deletes the same base indices… |
|
Prerequisites: selection-or-indices. |
|
Prerequisites: selection-or-indices. |
|
axis defaults to [0,0,1]. pivot is com, active, origin, cell, or an explicit three-number position. Prerequisites: selection-or-indices. |
|
Scales physical Cartesian atom coordinates about the pivot without changing atom or bond radii. axis is X, Y, Z, or ALL and defaults to ALL. pivot is com, active, origin, cell, or an explicit three-number position. Prerequisites:… |
|
Sets visual translation so the selected atom, or the mass-weighted center of mass of multiple selected atoms, lies at Cartesian origin. ASE positions and the unit cell are unchanged. Prerequisites: selection-or-indices. |
|
Undoes the latest available visual or physical edit in the shared GUI history. Describe afterward to verify the affected state. |
|
Reapplies the latest undone visual or physical edit in the shared GUI history. Describe afterward to verify the affected state. |
|
Restores all frames from the document’s stored reset baseline as one undoable physical edit. |
|
Load visual settings from a relative JSON path below the GUI launch directory. A matching document snapshot restores full visual state. Other files apply as portable presets. For a legacy file without origin metadata, set sameDocument… |
|
Duplicate selected base atoms in Edit mode, preserving per-atom arrays, constraints, and appearance. Newly inserted atoms become selected. |
|
Set property-based atom size using an actual scalar catalog ID. For current or trajectory rangeMode, fit=true (default) atomically scans that source and locks finite limits. Manual mode requires valid minimum/maximum. scope=indices… |
|
Configure coordination hulls without changing atoms or bonds. Rules explicitly select centers and ligands with cutoff distances or exact periodic vertex references. Read scene-snapshot section polyhedra to verify membership and… |
Constraints and relaxation
Tool |
Purpose |
|---|---|
|
Set applyConstraints in the same live document. Review changedPaths in the result. |
|
kind is fixed_line or fixed_plane; vector has three components. Prerequisites: selection-or-indices. |
|
When Add Atoms is active, this common operation routes the same calculator, cutoff, device, fmax, and step contract through placement relaxation while preserving the immutable pre-session host. Otherwise an ASE calculator must be… |
|
Stops the active ordinary or Add Atoms placement optimizer. |
|
Removes the dedicated optimization movie while leaving its mode active. retain is final by default, displayed to keep the frame currently shown, or initial to restore frame 1 before this optimization without removing placed atoms.… |
|
Stops an active optimizer if needed, closes the dedicated movie timeline, and either keeps current coordinates (default) or restores the exact pre-relaxation structure when keep=false. |
|
Configure the attached default repulsion calculator without starting optimization. Visual bond cutoffs are independent. Requires Edit mode. |
Camera and framing
Tool |
Purpose |
|---|---|
|
Set quality in the same live document. Review changedPaths in the result. |
|
Set camera in the same live document. Use axis for a deterministic +/-X, +/-Y, or +/-Z view; use position/target/up for an explicit camera; fit=’structure’ frames the complete structure; orbit applies screen-relative… |
|
Set renderArea in the same live document. Persistent image, video, and HTML framing. Enable it to show the render gate, follow the viewport while composing, or set an independent camera that remains fixed while the scene changes.… |
|
Creates a reproducible periodic composition without changing ASE coordinates. displaySupercell is visual replication, not set-supercell. centerMotif translates the periodic motif to targetFractional along chosen a/b/c axes using atom… |
Appearance and bonds
Tool |
Purpose |
|---|---|
|
Set display in the same live document. Partial typed visual settings, including labelOpacities, atomRadiusScales and atomBondStyles. Discover the focused display schema for other fields and scalar mappings. Review changedPaths in the… |
|
Assigns a visualization-only label to exact zero-based atom indices while preserving ASE elements, coordinates, order, cell, PBC, and constraints. A topology-compatible trajectory receives the same index mapping in every frame;… |
|
Applies deterministic visualization overrides to the union of exact indices, visual labels, and ASE elements. radiusAngstrom is the final rendered radius in Angstrom after the global atom scale; radiusScale is an explicit per-index… |
|
Configures visual bonds by unordered visual-label pair. Each pair may set enabled, maximumAngstrom, style, material, thicknessAngstrom, colorMode, color, and opacity. disableUnspecified=true makes the supplied enabled pairs an… |
|
Colors atoms by x/y/z, force norm, or a discovered numeric per-atom ASE array/calculator result. scope is all or selected. rangeMode is current, trajectory, or manual; every trajectory frame uses the same resolved minimum and maximum.… |
|
theme is system, light, or dark. system follows the browser/OS color-scheme preference and is the built-in default. Optional palette is graphite (default), slate, stone, or moss. Both affect interface chrome only; scientific… |
|
Persists the current reusable visual settings for this OS user. Coordinates, trajectory data, absolute camera placement, and per-atom appearance overrides are excluded. |
|
Destructively deletes the saved personal visual default and applies the built-in v_ase visual settings to the active tab. confirm must be true and an agent must obtain human approval first. |
|
Change only face color/opacity or edge appearance of existing coordination rule IDs. Preserves centers, ligands, distances and every other rule; uses cached geometry. Set color=null to inherit center atom colors. |
File input
Tool |
Purpose |
|---|---|
|
List files below the GUI launch directory. Use returned relative paths for load/append/guest/volumetric operations; absolute and escaping paths are rejected. |
|
Open a structure, trajectory, volumetric file, .vase project, or project HTML using a relative path below the GUI launch directory. Use the files query to discover paths. Replaces this tab; a nonempty document requires… |
|
Append structures as trajectory frames or scalar grids as fields, using a relative path below the GUI launch directory. Project visual settings are ignored when appending. |
Atomic and molecular distributions
Tool |
Purpose |
|---|---|
|
Installed ASE molecule names, formulas, and native geometries. |
|
Preview default repulsion onset distances independently of visual bonds. |
|
Preview exact accessible insertion volume and optional realized molecular density without adding atoms. |
|
Starts an Add Atoms session or appends one or more element/label populations to the active session after placement relaxation is inactive. The first pre-session structure remains the immutable host across every placement.… |
|
Starts an Add Molecules session or appends molecules to the active Add session from the installed ASE G2 molecule catalog. Query /api/add-session/molecules/{session_id} before choosing a name. Molecule coordinates are placed and… |
|
Replaces all active Allow/Reject regions, or updates one stable regionId, without moving staged atoms. Regions can translate as a group but cannot be rotated. Prerequisites: active-cartesian-add-atoms-session. |
|
Compatibility alias for the same shared placement-relaxation path used by start-relaxation. It starts asynchronous FIRE with one AdditionRepulsionCalculator attached to the complete staged structure. device selects CPU or CUDA and… |
|
Prerequisites: active-add-atoms-relaxation. |
|
Commits only inserted atoms; every host coordinate, constraint, and array is restored exactly. Prerequisites: inactive-add-atoms-relaxation. |
|
Restores the complete pre-session structure and history state. Prerequisites: active-add-atoms-session. |
|
Scales Cartesian insertion-region bounds about their shared center, or an explicit three-number pivot. axis is X, Y, Z, or ALL. Prerequisites: active-add-atoms-session. |
Analysis and stored properties
Tool |
Purpose |
|---|---|
|
Discover available scalar field IDs for the requested frame. |
|
Read stored arrays and calculator properties for one base atom without evaluating its calculator. |
|
Read stored frame properties without evaluating the calculator. includeArrays can be large. |
|
Read a discovered scalar field. allFrames returns trajectory data and may be large. |
|
Find finite scalar bounds in the current frame or trajectory, optionally restricted to indices. |
|
Read stored Cartesian forces for a frame or trajectory. No force calculation is triggered. |
|
Discover installed Matplotlib colormaps. |
|
Sample a discovered colormap for visual verification. |
|
Optionally updates display settings, then recomputes displacement analysis for the current frame and configured reference/mapping. |
|
pairMode is active, selected, all, or none. selected filters partial curves to active bonds whose endpoints are both selected in the GUI; activePairs can provide the label-pair filter explicitly. usePbc defaults to true. Bulk uses… |
Periodic interfaces
Tool |
Purpose |
|---|---|
|
Finds the nearest validated periodic 2D lattice match, rotates the selected layer to that exact angle, and opens the common-cell proposal. Select a nonempty proper subset: at least one unselected host atom must remain in the same… |
|
Loads a separate guest structure from inside the GUI launch directory. gap is guest minimum z minus host maximum z in angstrom and defaults to 3. Absolute paths and parent-directory traversal are rejected. |
|
Removes the separately loaded guest and clears its search/proposal, returning the workspace to same-lattice matching. |
|
Searches bounded integer common cells about global Z. Same-lattice mode requires a selected rotating layer before atom preview or materialization; host-guest mode requires a loaded guest. Cells-only preview is the default.… |
|
Materializes the active validated proposal as the ASE unit cell. Prerequisites: active-commensurate-proposal. |
|
Closes the active proposal and restores the pre-preview camera. |
|
Scans one primitive periodic translation cell in the requested (hkl) plane. metric is short-contact or bond-strain; both are geometry scores, not energies. Prerequisites: selection-or-indices. |
|
Activates rigid translation for a selected component. space=plane (default) uses two coordinates in the periodic (hkl) plane; space=cartesian uses one common x/y/z translation in Angstrom with maxDisplacement as the bound for each… |
|
Sets two unwrapped plane-lattice coefficients in plane mode or three Cartesian Angstrom components in 3D mode, without moving the cell or changing selected internal coordinates. Prerequisites: active-registry-relaxation. |
|
Optimizes the active two-coordinate plane or three-coordinate Cartesian rigid translation with the attached calculator or the default pairwise repulsion calculator. Consume registry_relax_step events until is_relaxing is false.… |
|
Prerequisites: active-registry-relaxation. |
|
Commits the rigid translation as one undoable structure edit and exits the mode. Prerequisites: inactive-registry-relaxation. |
|
Restores the exact pre-mode coordinates and exits without a history entry. Prerequisites: active-registry-relaxation. |
Volumetric fields
Tool |
Purpose |
|---|---|
|
path is resolved inside the GUI launch directory. Supported formats include CHGCAR, LOCPOT, PARCHG, ELFCAR, Cube, and XSF. precision is fp32/float32 or fp64/float64 and is applied while reading. |
|
surfaceMode is single or signed; stepSize is 1, 2, or 4. Signed mode renders +abs(level) and -abs(level), requires a non-zero level, and may return only the sign that still crosses the displayed field range after smearing. opacity is… |
|
Creates one cell-clipped scalar-field plane. hkl is a non-zero three-number reciprocal-space normal; offsetAngstrom is the signed distance from the origin along its Cartesian unit normal. If the offset is omitted, the plane is… |
|
Applies every supplied field to all planeIds as one visual edit. resolution is 128, 256, 512, or 1024. vmin/vmax are used when autoRange is false. Invalid IDs or values reject the whole edit. |
|
Removes all requested planar sections as one visual edit. |
|
All grids must have matching dimensions, cell, origin, PBC, and quantity, units, and endpoint conventions. For file-native units, assumeCompatible must be true only after checking their compatibility. resultName names the output; name… |
|
Deletes the specified scalar dataset from the document and clears the active surface when it used that dataset. Source files are unchanged. |
Render and export
Tool |
Purpose |
|---|---|
|
Render the shared GUI to a unique local artifact. Returns a resource URI and exact camera/dimensions, never inline Base64. Inspect the image for final visual quality. |
|
Export image from the shared GUI to a unique local artifact. imageFormat is png, jpeg, webp, or pdf. |
|
Export video from the shared GUI to a unique local artifact. container is mov, avi or gif and requires a loaded trajectory. startFrame/endFrame are inclusive zero-based source indices (default entire trajectory); loop controls GIF… |
|
Export poscar from the shared GUI to a unique local artifact. ASE rejects Cartesian directional constraints that cannot be represented as POSCAR selective dynamics for the current cell. Constraints are never silently removed; use… |
|
Export pickle from the shared GUI to a unique local artifact. |
|
Export blender from the shared GUI to a unique local artifact. Uses the visible Render Area camera or the viewport camera. Carries Sun and surface settings, smooth atom spheres, the active frame and visible repeats. Omits graph… |
|
Export 3dm from the shared GUI to a unique local artifact. Requires the optional rhino3dm dependency. |
|
Export obj from the shared GUI to a unique local artifact. |
|
Export html from the shared GUI to a unique local artifact. embedProject defaults to false for a lightweight view-only file. Set options.includeGraph to control inclusion of Energy and a floating Distribution. The offline Distribution… |
|
Export project from the shared GUI to a unique local artifact. |
|
Export settings from the shared GUI to a unique local artifact. Saves visual settings with their document and scientific identity. The same unchanged document restores its full visual state; other documents apply the portable preset. |
|
Export rdf-csv from the shared GUI to a unique local artifact. Exports the total RDF and currently requested partial curves. pairMode accepts active, selected, all, or none; selected requires the browser-derived selected active label… |
|
Export commensurate-csv from the shared GUI to a unique local artifact. Exports angle, host/guest integer matrices, area ratios, residual strains, and the scientific references used by the bounded search. |
|
Export registry-csv from the shared GUI to a unique local artifact. Exports the complete periodic (hkl) translation grid, its exact lattice basis, Cartesian vectors, and geometry metric values. |