campaigns:read, campaigns:write and mail:read, which you grant on the Authorize access page when you connect.
This page is generated from the connector’s tool catalogue. It describes 6 tools. Every tool reads or writes only your own account.
Permissions this page needs
campaigns:read: Read your campaigns, their selected companies, and outreach templatescampaigns:write: Pause a campaign’s sending, and change a campaign’s name, description and goalmail:read: Read your outreach templates, thank-you drafts, email delivery jobs, and your outreach settings
campaigns.list
Your agent host shows this tool as “List campaigns”.
List the authenticated student’s campaigns, including archived campaigns by default; discovery status is the last stored value and may lag.
Permissions: This tool needs campaigns:read, which the Authorize access page describes as “Read your campaigns, their selected companies, and outreach templates”.
Risk: read. This tool only reads your own data. It never changes anything and it never asks for your approval.
Input
Example call
campaigns.list input
Result
A result is never larger than 16,384 bytes. If the stored value does not fit, the tool returns a measured fragment and a cursor for the next one. This tool’s result takes one of these 2 forms, and one call returns exactly one of them. The field named beside each form below says which one you are looking at. Open a form to read its top-level fields.Shape 1
Shape 1
Top-level fields
Shape 2
Shape 2
Top-level fields
Errors
A failed call returns one protocol error with no error code, and its text isTool call failed. every time. This tool looks up no record by id, so it never sends a text that names a record. The error codes page gives every text a read failure can carry.
campaigns.get
Your agent host shows this tool as “Get campaign”.
Read one owned campaign directly; discovery status is the last stored value and may lag.
Permissions: This tool needs campaigns:read, which the Authorize access page describes as “Read your campaigns, their selected companies, and outreach templates”.
Risk: read. This tool only reads your own data. It never changes anything and it never asks for your approval.
Input
Example call
campaigns.get input
Result
A result is never larger than 16,384 bytes. If the stored value does not fit, the tool returns a measured fragment and a cursor for the next one. This tool’s result takes one of these 2 forms, and one call returns exactly one of them. The field named beside each form below says which one you are looking at. Open a form to read its top-level fields.Shape 1
Shape 1
Top-level fields
Shape 2
Shape 2
Top-level fields
Errors
A failed call returns one protocol error with no error code. Its text isTool call failed. in every case but one: a call that finds no campaign of yours says so and tells the agent to call the matching list tool. The error codes page quotes that text in full and lists the eight kinds of record it can name.
campaigns.companies.list
Your agent host shows this tool as “List campaign companies”.
List every selected company and its last stored discovery state for one owned campaign.
Permissions: This tool needs campaigns:read, which the Authorize access page describes as “Read your campaigns, their selected companies, and outreach templates”.
Risk: read. This tool only reads your own data. It never changes anything and it never asks for your approval.
Input
Example call
campaigns.companies.list input
Result
A result is never larger than 16,384 bytes. If the stored value does not fit, the tool returns a measured fragment and a cursor for the next one. This tool’s result takes one of these 2 forms, and one call returns exactly one of them. The field named beside each form below says which one you are looking at. Open a form to read its top-level fields.Shape 1
Shape 1
Top-level fields
Shape 2
Shape 2
Top-level fields
Errors
A failed call returns one protocol error with no error code. Its text isTool call failed. in every case but one: a call that finds no campaign of yours says so and tells the agent to call the matching list tool. The error codes page quotes that text in full and lists the eight kinds of record it can name.
campaigns.template.get
Your agent host shows this tool as “Get campaign template”.
Read one owned campaign outreach template with campaign and mail-read permission.
Permissions: This tool needs campaigns:read, which the Authorize access page describes as “Read your campaigns, their selected companies, and outreach templates”, and mail:read, which the Authorize access page describes as “Read your outreach templates, thank-you drafts, email delivery jobs, and your outreach settings”.
Risk: read. This tool only reads your own data. It never changes anything and it never asks for your approval.
Input
Example call
campaigns.template.get input
Result
A result is never larger than 16,384 bytes. If the stored value does not fit, the tool returns a measured fragment and a cursor for the next one. This tool’s result takes one of these 2 forms, and one call returns exactly one of them. The field named beside each form below says which one you are looking at. Open a form to read its top-level fields.Shape 1
Shape 1
Top-level fields
Shape 2
Shape 2
Top-level fields
Errors
A failed call returns one protocol error with no error code. Its text isTool call failed. in every case but one: a call that finds no campaign of yours says so and tells the agent to call the matching list tool. The error codes page quotes that text in full and lists the eight kinds of record it can name.
campaigns.contact_stats.get
Your agent host shows this tool as “Get campaign contact stats”.
Count the contacts of one owned campaign by outreach state. The four contact counts are computed at call time and are never stored by this tool, so they are current; the campaign’s own discovery status is the last stored value and may lag the web interface. The emails sent figure is the stored counter that email delivery maintains.
Permissions: This tool needs campaigns:read, which the Authorize access page describes as “Read your campaigns, their selected companies, and outreach templates”.
Risk: read. This tool only reads your own data. It never changes anything and it never asks for your approval.
Input
Example call
campaigns.contact_stats.get input
Result
A result is never larger than 16,384 bytes. A result carries these top-level fields:Top-level fields
Errors
A failed call returns one protocol error with no error code. Its text isTool call failed. in every case but one: a call that finds no campaign of yours says so and tells the agent to call the matching list tool. The error codes page quotes that text in full and lists the eight kinds of record it can name.
campaigns.details.update
Your agent host shows this tool as “Update campaign details”.
What this changes: Rewrite one campaign’s name, description and goal.
All three are written together and all three are required, so send the values you want to keep as well as the ones you are changing; read them first with campaigns.get. The name is at most 100 characters and may not be blank, the description and the goal at most 500 each. This changes nothing about who the campaign contacts, what it sends or when it sends it.
Permissions: This tool needs campaigns:write, which the Authorize access page describes as “Pause a campaign’s sending, and change a campaign’s name, description and goal”.
Risk: safe_write. This tool changes one of your own settings as soon as the agent calls it. It does not ask you to approve first, because the change affects only your own account and you can set it back yourself.
Input
Example call
campaigns.details.update input
Result
A result is never larger than 4,096 bytes. This tool’s result takes one of these 4 forms, and one call returns exactly one of them. The field named beside each form below says which one you are looking at. Open a form to read its top-level fields.Shape 1, where tag is completed
Shape 1, where tag is completed
Top-level fields
Shape 2, where tag is accepted
Shape 2, where tag is accepted
Top-level fields
Shape 3, where status is failed
Shape 3, where status is failed
Top-level fields
Shape 4, where status is uncertain
Shape 4, where status is uncertain
Top-level fields

