mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[tools/outlook] Send Draft tool runs the Send Message tool. #953
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kurokobo on GitHub (Jan 28, 2026).
Self Checks
Dify version
1.11.4
Plugin version
0.2.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Error log
Got
To recipients are requirederror, which comes from the Send Message tool, not from the Send Draft tool.@kurokobo commented on GitHub (Jan 28, 2026):
Root cause is,
send_draft.yamlreferssend_message.py:https://github.com/langgenius/dify-official-plugins/blob/a74ee6819e59367091442dc1abc4f275e5bdec92/tools/outlook/tools/send_draft.yaml#L38-L40
@dosubot[bot] commented on GitHub (Jan 28, 2026):
You're correct—the root cause is that
send_draft.yamldelegates tosend_message.py, which strictly requires ato(recipients) parameter. Sincesend_draft.yamlonly provides adraft_idand doesn't expose or pass thetofield, the validation insend_message.pyfails and triggers the "To recipients are required" error. This means the Send Draft tool can't work as intended without either modifying the YAML to collect and pass recipient info, or updating the Python logic to extract recipients from the draft itself before sending. No existing issues or merged PRs address this yet, so a code or config change is needed to resolve it.Reference: send_draft.yaml and send_message.py analysis
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other