function · restricted.command
submit
Submits one restricted command from a development package.
restricted.command.submit(command_id, arguments, delay_ticks?) -> receipt
- Stable ID
restricted.command.submit- Owner
- app.ScriptPackageHost
- Authority
- restricted_request
- Timing
- fixed_tick
- Availability
- Phase 14 package callbacks
- Side effects
- submits a validated request to the existing command service
- Determinism
- Host-created package identity and per-callback budgets.
- Introduced
- 1.0.0
Usage
Use only from development-origin packages. The host rejects this function for first-party standard packages before an owner command is queued.
Parameters
- command_id: stable ID of a registered command.
- arguments: table matching the command descriptor fields.
- delay_ticks: optional bounded delay from the next fixed tick.
Returns
A host-created receipt with request sequence, command ID, target tick, origin, and accepted status.
Cost
Bounded by per-package command and queue limits; authoritative work occurs once through the fixed-tick owner.
Fields
This symbol has no fields.
Errors
Examples
local receipt = restricted.command.submit("restricted.actor.crisis-override", arguments, 1)
API history
- 1.0.0: Runtime contract published from the complete Phase 14 registry.