ActionResult
or simple strings.
extracted_content
(default: None
) - Main result passed to LLM, this is equivalent to returning a string.include_extracted_content_only_once
(default: False
) - Set to True
for large content to include it only once in the LLM input.long_term_memory
(default: None
) - This is always included in the LLM input for all future steps.error
(default: None
) - Error message, we catch exceptions and set this automatically. This is always included in the LLM input.is_done
(default: False
) - Tool completes entire tasksuccess
(default: None
) - Task success (only valid with is_done=True
)attachments
(default: None
) - Files to show usermetadata
(default: None
) - Debug/observability dataextracted_content
and long_term_memory
?extracted_content
to files which the LLM can read in future steps.
is_done=True
to stop the agent completely. Use when your tool finishes the entire task: