Docs Operation reference catalog operations
catalog operations#
4 operations. Generated from assets/operations.json; all areas.
On this page (4)
catalog.list#
Device catalog
List built-in and custom device profiles with provenance.
Annotations: read-only, idempotent, open world.
| Argument | Type | Required | Default | Details |
|---|---|---|---|---|
platform | string | one of ios, android, generic |
tomaccoctl call catalog.list
catalog.import#
Import models
Validate and atomically import custom device profile JSON. Built-ins are immutable.
Annotations: writes, not idempotent, open world.
| Argument | Type | Required | Default | Details |
|---|---|---|---|---|
path | string | yes | non-empty; Absolute local filesystem path | |
replace | boolean | false |
tomaccoctl call catalog.import '{"path":"<path>"}'
catalog.export#
Export model
Export a profile to a new JSON file.
Annotations: writes, not idempotent, open world.
| Argument | Type | Required | Default | Details |
|---|---|---|---|---|
profile_id | string | yes | ||
path | string | yes | non-empty; Absolute local filesystem path |
tomaccoctl call catalog.export '{"profile_id":"<profile_id>","path":"<path>"}'
catalog.remove#
Remove custom model
Remove a custom profile by ID.
Annotations: destructive, idempotent, open world.
| Argument | Type | Required | Default | Details |
|---|---|---|---|---|
profile_id | string | yes |
tomaccoctl call catalog.remove '{"profile_id":"<profile_id>"}'