Optional
metadataAdditional metadata to annotate the created tool message with in the "resume" key.
reply should contain a single or list of toolResponse
parts corresponding
to interrupt toolRequest
parts from the most recent model message. Each
entry must have a matching name
and ref
(if supplied) for its toolRequest
counterpart.
Tools have a .reply
helper method to construct a reply ToolResponse and validate
the data against its schema. Call myTool.reply(interruptToolRequest, yourReplyData)
.
ResumeOptions configure how to resume generation after an interrupt.