Skip to main content

TargetFn

Type Alias TargetFn 

Source
pub type TargetFn = fn(&Value) -> Option<String>;
Expand description

Tool-specific target extractor. Returns the “persistent target” of a call (file path, URL, shell-command prefix) — the thing whose repeat would mean “the same work is being attempted again.” None means the call has no persistent target (e.g. office.pdf_fields — the action itself is what repeats).