#[non_exhaustive]pub enum ToolReceiptOperation {
Create,
Delete,
List,
Execute,
Wait,
Unknown(String),
}Expand description
Which operation within the family the receipt describes. Open — registered per family, never derived from the tool name.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Create
cron_create.
Delete
cron_delete.
List
cron_list.
Execute
code_exec and its legacy alias code.exec.
Wait
code_wait and its legacy alias code.wait.
Unknown(String)
A value minted by a newer decision than this build knows. Preserved
verbatim so a client falls back only for the part it does not
recognize and can still read the discriminators and family fields it
does understand. Not a value any family registered, so it is excluded
from the generated schema while the enum stays declared open — the
SessionDurability::Unknown shape.
Never construct this with a registered word. Decoding never
produces it for one, so Unknown("create") does not survive a
round-trip: it re-decodes as the named variant and the two values
compare unequal. Producers build the named variant.