📄 Managing Tool Permissions for your Agents

If you’ve ever felt nervous about giving an agent access to your email tool, you’re not alone! When you connect powerful tools like Gmail, Slack, or Google Calendar to your Autohive agents, it's natural to wonder: What exactly can this agent do with my accounts?

The good news is: you have complete control. Let's explore how to harness the full power of tool integrations while keeping your data safe and your mind at ease.

What Are Tool 'Scopes' (And Why Should You Care?)

Think of scopes like keys on a keyring. When you connect a tool to an agent in Autohive, you're not handing over the master key to everything. Instead, you're giving it a specific set of keys, each one unlocking a different capability.

For example: The Gmail integration includes separate "keys" for:

- Reading emails

- Creating draft emails

- Sending emails

- Managing labels

By default, all these keys will be enabled for your agent when you give it the tool. But you can choose exactly which keys to hand over. This isn't just a nice-to-have security feature. It's your safeguard against those "oh no" moments we've all experienced with technology.

When Good Agents Do Unexpected Things

We’ll share a real story that perfectly illustrates why scope management matters.

We’ve had an agent using the Gmail tool confidently confirm "Draft created!" only to find now evidence of it in the Drafts folder - more digging showed that the agent had actually sent the email.

Yikes.

This wasn't a bug - it was a permissions issue. The agent had the ability to send emails, so when it got slightly confused about the request, it defaulted to the more complete action. The solution? Remove the "send email" permission entirely.

Your Step-by-Step Guide to Configuring Tool Scopes

Ready to take control? Here's exactly how to configure permissions for your agents using a specific tool:

Setting Up Gmail Safely

1. Navigate to the agent settings page of the agent using the tool in your desired Workspace.

2. Select ‘Show actions’ under ‘Add integrations and agents’ section.

3. Review the available scopes - screenshot below of where to find it

4. Toggle off any permissions you don't need

Pro tip: If you only want your agent to draft emails for your review, turn off everything except "Create drafts." Now it's literally impossible for the agent to send an email by mistake. You can build up trust by testing and tweaking, and add scopes back in once you're confident.

Configuring Slack Permissions

The same principle applies to Slack and most other tools:

1. On the agent settings page of the agent using the Slack tool.

2. Find the ‘show actions’ section under ‘add integrations and agents’.

3. Within agent instructions you can further control its behaviour - for example by instructing it to never use @everyone or @channel tags (these capabilities are not controlled by scopes you can toggle on and off.

Why does this matter? Imagine your agent accidentally tagging @everyone in your 500-person Slack workspace at 2 AM. Not ideal, right?

Set Scopes to ‘Requires Approval’

If you want an agent to be able to use a ‘risky’ scope, you can give it the ability to use it but only after stopping to wait for human approval.

Do that by toggling on the ‘Requires Approval’ setting to the right of each individual scope.


The Golden Rule: Give Your Agents Only What They Need

Adopt the following approach: The Principle of Least Privilege.

Your agent should only have the minimum permissions needed to do its job. Nothing more.

- Email summariser agent? It only needs read access

- Draft creator agent? Just needs draft permissions

- Meeting briefer? Calendar access only - no email needed

Think of it like hiring a new team member. You wouldn't give the intern keys to the CEO's office on day one, right? Same logic applies here.

Building with Confidence

Managing tool scopes isn't about being paranoid - it's about being smart and intentional. When you take a few minutes to configure permissions properly, you unlock something powerful: the ability to automate with confidence.

Your agents become trustworthy teammates rather than loose cannons. You can delegate important tasks knowing they'll stay within their lanes. And you can sleep soundly knowing your agent won't accidentally email your entire contact list at midnight. Better still, you can give different agents different scopes on the same tool, because these settings are at the Agent level, not the Workspace level.

Make sense?

Ready to Build Safer, Smarter Automations?

Tool integrations are the secret sauce that makes Autohive agents incredibly powerful. But that power needs boundaries. By managing scopes thoughtfully, you're not limiting your agents - you're focusing their capabilities exactly where you need them.

Take five minutes today to review your tool permissions. Your future self (and your inbox) will thank you.