{"version":"2.1.269","anchor":"sendmessage-tool-gains-suppressesalwaysallowrule-and-a-creat","canonical_anchor":"sendmessage-tool-gains-suppressesalwaysallowrule-and-a-creat","heading":"SendMessage tool gains suppressesAlwaysAllowRule and a create()-based context object","tier":"internal","area":"Team Messaging","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/sendmessage-tool-gains-suppressesalwaysallowrule-and-a-creat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### SendMessage tool gains suppressesAlwaysAllowRule and a create()-based context object\n\nSendMessage tool adds a suppressesAlwaysAllowRule flag and a richer permission-context object\n\n**Unclear.** Since suppressesAlwaysAllowRule always returns false right now, it's unclear what practical effect this has yet.\n\n**What**\n\nThe tool used for sending messages across sessions or between teammates now defines `suppressesAlwaysAllowRule`, which currently always returns false. The tool's setup was also refactored to build a context object exposing session, storage, credentials, permissions, and proactivity setting information to its permission-checking logic.\n\n**Why**\n\nThis groups together the information needed to decide permissions for cross-session messaging, and the new flag suggests groundwork for controlling whether \"always allow\" rules can apply to this tool, though it currently has no effect since it always returns false.\n\n- Area: Team Messaging\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}