Apply operation to each item in Collection
target: Collection (variable or ID)operation: Tool/primitive name (string) or dict with tool fieldout: Variable nameREQUIREMENTS:
target MUST be Collectionoperation MUST be valid tool/primitive nameNOT SUPPORTED IN MAP:
size, union, intersection, difference, join, filter-structured, sort, head, flatten, splitif, while, waitdiscover-notes, discover-collections, search-within-collectionpersist, load, indexReturns Collection of Notes, each containing result from applying operation. Failed/null results excluded if filter_null=true (default).
Empty Collection = expected when:
Empty ≠ error — indicates no successful results, not failure.
Actual failures: Invalid target type, unknown operation, or missing parameters.
map(load) on search-web results returns empty (results already materialized Notes)map(load) = expected behavior, not diagnostic❌ map(target=$note, operation="refine") → Must be Collection
❌ map(target=$results, operation="load") → search-web results already Notes
❌ map(target=$coll, operation="split") → split operates on Notes, not Collections
❌ Treating empty result as error → Empty = no successful operations