Tools and safety
Coming after the API launch
This is the planned first set of tools. Names and details may change before launch.
The tools
| Tool | Kind | What it does |
|---|---|---|
get_account_overview | Read | Balance, sending readiness, sender IDs and the last 7 days at a glance |
get_balance | Read | Available and reserved balance |
list_sender_ids | Read | Sender IDs and their status on each network |
get_pricing | Read | Price per SMS by country and network |
estimate_message | Read | Characters, parts and cost for a text and an audience size |
list_campaigns | Read | Recent campaigns |
get_campaign_report | Read | A campaign's delivery breakdown, failure reasons and cost |
search_messages | Read | Find messages. Numbers are masked unless you're allowed to see them. |
get_message | Read | One message and its status |
get_analytics | Read | The Analytics page's summary for a period, by network and sender |
list_contact_lists | Read | Your contact lists |
count_audience | Read | How many people a send would reach |
prepare_send | Write, step 1 | Prepares a send and returns a preview with a confirmation_code |
confirm_send | Write, step 2 | Sends exactly what was previewed |
send_test_message | Write | Sends a test to your own verified phone only |
cancel_scheduled | Write | Cancels a scheduled send |
Read tools are marked read-only, and confirm_send and cancel_scheduled are marked as actions with effects outside the chat, so assistants know to ask first.
The two-step send
Sending through an assistant always takes two steps:
prepare_sendtakes the recipients (numbers or a contact list), the text, the sender ID, the type and an optional time. It sends nothing. It returns a preview: how many people, the exact text, the cost, and aconfirmation_codethat is valid for 10 minutes.- The assistant shows you the preview and waits for your yes.
confirm_sendwith that code sends exactly what was previewed. A changed text or list needs a new preview.
You: Remind the Parents list that Sports Day is on Friday.
Assistant: Here's the preview:
To: Parents (412 people)
From: GREENHILL
Text: Reminder: Sports Day is on Friday 6 December. Pupils come in PE kit. Greenhill Academy
Cost: KES 329.60
Shall I send it?
You: Yes, send it.
Assistant: Sent. 412 messages are on their way.2
3
4
5
6
7
8
9
Caps
Every connection has caps, set by an owner or admin:
- Spend per day: KES 1,000 by default.
- Recipients per send: 100 by default.
- Sandbox only: the connection can only use the sandbox.
- Read only: the connection can't send at all.
A send over a cap is refused before anything goes out, and the assistant tells you which cap stopped it.
Who can do what
| Your role | What your AI connections can do |
|---|---|
| Owner or admin | Read and send, within the caps |
| Member | Read only |
A connection never has more rights than the person who made it. Rights are checked on every call, so a change of role takes effect at once.
Logs
Every tool call is logged with the connection that made it and shown in Developer. Messages sent through an assistant are marked as sent by AI, so you can tell them apart in Analytics.
Revoke
Open Developer, then AI access:
- Connected apps lists every app signed in with Connect: the app, the person, its permissions and caps, and when it was last used.
- Personal access tokens lists every
sat_token.
Revoke stops a connection at once. Owners and admins can revoke anyone's connection in the organisation.