pub fn attach(result: Value, files: &[StagedArtifact]) -> ValueExpand description
Attach staged files to a tool result so the runtime delivers them. Sets
the workforce file-delivery key on the result object; a non-object
result or an empty files slice is returned unchanged.