RequestList
RequestList keeps a list, in the call’s global_data, of what the caller asked for
while the agent was busy with another task. A tool notes each request with
note(), and
the agent tells the caller it’s noted for right after this. Step text shows the list as
${global_data.<global_key>_text}, so once the current task is done, the agent takes
up each request in order.
The model hears of each new request in the tool result. Current platform releases
expand step text again when a value it reads changes, so the list shows in the step’s
text at the next request. Earlier releases and realtime models keep the text from when
the step was entered; return refresh_step() with the note to show the
list there at once.
Parameters
global_key
The global_data key the list is kept under. The list’s text for step text is kept
under <global_key>_text.
openers
Keyword-only. How the agent opens each kind of request when it takes it up, keyed by
kind. {about} in an opener is replaced with what the request is about. A kind
without an opener opens with what it’s about.
heading
Keyword-only. The first line of the list’s text.