Records
Connect a previous node — usually Code — that returns:key is the record id in that collection. data is the full record.
If this JSON already has collection, you can leave Collection empty on this node. Fill Collection when the JSON is only an items array.
An Agent can send the same items when it uses this tool (at most 50 records per call).
On the Graph, an item without key, with an invalid key, or with a key already used earlier in the same list is skipped; the other items are saved and Result lists the skipped ones. From an Agent, any such item rejects the whole call: nothing is saved and the error names each bad item.
Input
Inspector Settings. Empty-field rules for the Graph: Previous nodes. Insert value is on Data. On an Agent Tool, Collection, Key, and Data can be Agent decides or Fixed. Empty fields do not invent records. Without items the step fails: return the JSON above from the previous node, or fill Collection, Key, and Data for one row. A filled Key replaces that list with one record.Output
On the next node, Previous nodes listsSave records: Result ({{Save records.text}} while the name is unique).