Tinderbox Forum

Agent to gather all notes except agents

How do I create an agent to gather all notes except agents? I’m sure it’s simple but I need a reminder.



The easiest test for an agent is for there being a an agent action, i.e.


Or more succinctly :


as the latter dests “does $AgentQuery have a non-default value?” and the default doc value is "", i.e. nothing.

But the is no—imagined—$IsAgent. I guess the rationale is that at worst you’d find an agent container with no children (there being no agent).

In summary, the query term $AgentQuery!="" will cover most use cases for excluding agents. Should it not do so, please give the extra context.

HTH :slight_smile:

You are a star. Thanks.