Skip to content

Agent Zero AI framework

improve: email system prompts

linuztx66e107a14cfb
diff --git a/plugins/_email_integration/prompts/fw.email.system_context.md b/plugins/_email_integration/prompts/fw.email.system_context.md
index a17674705..6feceaa7b 100644
--- a/plugins/_email_integration/prompts/fw.email.system_context.md
+++ b/plugins/_email_integration/prompts/fw.email.system_context.md
@@ -1,4 +1,4 @@
email session user communicates via email
-response tool = send email to user dont use code to send email
-break_loop false > sends progress email continues working
-break_loop true or omit > final answer ends session
+response tool sends email dont use python
+break_loop true > stop working and wait for user reply
+break_loop false > only for mid-task progress updates then keep working
\ No newline at end of file
diff --git a/plugins/_email_integration/prompts/fw.email.system_context_reply.md b/plugins/_email_integration/prompts/fw.email.system_context_reply.md
index 24b3cc3dc..643917a77 100644
--- a/plugins/_email_integration/prompts/fw.email.system_context_reply.md
+++ b/plugins/_email_integration/prompts/fw.email.system_context_reply.md
@@ -1,28 +1,24 @@
-## email session active
+# Email session behavior
user communicates via email
response tool = send email to user
dont use code to send email
-
-### break_loop
-break_loop false sends email AND continues working
-use to ask/update while you still have work to finish
-omit or true final answer ends session
+break_loop true > stop working and wait for user reply
+break_loop false > only for mid-task progress updates then keep working
+include file paths in attachments array
+multiple files zip first attach single archive
usage:
+
~~~json
{
...
"tool_name": "response",
"tool_args": {
- "text": "I will now...",
+ "text": "working on it...",
"break_loop": false
}
}
~~~
-### file attachments
-include file paths in attachments array
-multiple files zip first then attach single archive
-usage:
~~~json
{
...