Skip to content

gatos.command

tool Advanced commands

Submit any canonical action through the complete command envelope.

Use when
A logical family does not express the action clearly enough, or generic catalog-driven automation is desired.
Availability
The canonical action's own control/debug/feature gates.

Input

FieldTypeRequirementDescription
actionstringRequiredCanonical action key from gatos.get_capabilities.
vessel_idstringOptional · ""Raw vessel id. Global actions use an empty string.
ordinalintegerOptional · -1Module or entity ordinal where the action addresses one item.
valuenumberOptional · 0Primary scalar value.
valuesnumber[] | nullOptional · nullVector, quaternion, color, or other ordered numeric payload.
tokenstring | nullOptional · nullNamed mode, id, field, or other action-specific token.
auxstring | nullOptional · nullSecondary action-specific token.

Call example

gatos.command({"action":"debug.teleport","vessel_id":"Hunter","ordinal":-1,"values":[6578100,0,0,0,7784,0]})

Result

Validated command outcome including canonical action context and current freshness metadata.

Errors

  • EINVAL for an unknown action or invalid shape; action-specific ENOENT/EACCES/EBUSY/EOPNOTSUPP/EIO.

Operational notes

  • Call get_capabilities for units, addressing, phase, and safety metadata.
  • Clients never choose Frame or Solver phase; the catalog derives it.