track_upsert
Finds an existing track by name and type, or creates a new one if not found. Prevents duplicate tracks with the same name and type.
Instructions
Find or create a track by name and type. Use when a workflow needs a named target track but should avoid duplicates. Idempotent: returns changed=false when the track already exists; verified by returned name/type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| index | No |