Skip to content

Orb.reload_instruments

Beta: This API may change shape in 0.1.x. It is not a frozen 1.0 contract.

Ask this orb to reload its instrument list from the backend.

Use after adding or removing instrument associations in the web UI. The orb re-fetches its instrument list without requiring a restart.

Signature

reload_instruments(timeout: float=15.0) -> dict[str, Any]

Parameters

Name Type Required Default
timeout float no 15.0

Fields

Field
timeout

Return shape

dict[str, Any]

Permission

This is a local SDK helper. It does not call the CloudSprite HTTP API.

Usage

result = orb.reload_instruments()
print(f"Orb now manages {result['instrument_count']} instruments")