Agent700 Context Library icon

Agent700 Context Library

Store and retrieve key/value alignment data for agents

Entry → Query + Construct

AI-generated

Summary

Query key-value entries matching a specified pattern and construct JSON objects from each match using a user-defined template.

Inputs

  • Pattern (required) — Pattern for matching keys. Pattern syntax depends on the server (e.g., glob or regex). Example: links.*
  • Construct Template (required) — Template string used to construct JSON objects from matched entries; supports placeholders {{key}} for the entry key and {{value}} for the entry value.

Output shape

a list of JSON objects constructed from each matched entry according to the template

The node queries entries by the pattern and returns one item per matched entry. Each item contains JSON built by replacing the template's {{key}} and {{value}} placeholders with the actual key and value from the matched entries.

Examples

Example 1: Match all keys starting with 'links.' and build JSON objects describing each match using a template

Set Pattern to 'links.*' and Construct Template to '{"key":"{{key}}","value":"{{value}}"}'.

Links

Discussion