Get started with Heelo
Connect your AI app to Heelo in a few minutes. Then give it real work.
What is Heelo?
Heelo gives your AI app tools to do real work on the web and in your own accounts. Your AI app uses them through MCP, and your own code through the HTTP API.
Connect your AI app
Heelo CLI Coming soon
One command will sign you in and add Heelo to Claude Code, Codex and Cursor, with no API key to copy. Until then, add the MCP server below.
Add the MCP server
- Create a key in API keys in your dashboard and copy it at once: Heelo shows it only one time. Use one key for each app. The HTTP API uses the same key.
- Add these settings to your AI app. Field names can be different in each app.
| Field | Value |
|---|---|
| Server name | Heelo |
| Transport | HTTP (Streamable HTTP) |
| Server URL | https://mcp.toolsprimitives.uk/mcp |
| Header | Authorization: Bearer YOUR_HEELO_API_KEY |
In each example below, replace YOUR_HEELO_API_KEY with your key.
Claude Code
Run in your terminal:
claude mcp remove heelo --scope local 2>/dev/null; claude mcp remove heelo --scope user 2>/dev/null
claude mcp add --scope user --transport http heelo https://mcp.toolsprimitives.uk/mcp --header "Authorization: Bearer YOUR_HEELO_API_KEY"Run this in a terminal, not inside Claude Code. It connects Heelo in every folder and replaces any earlier Heelo key. Then start Claude Code (quit and reopen it if it is already running) and run /mcp to check that Heelo is connected.
Codex
Run in your terminal:
mkdir -p ~/.codex && touch ~/.codex/.env && chmod 600 ~/.codex/.env && printf '\nHEELO_API_KEY=%s\n' 'YOUR_HEELO_API_KEY' >> ~/.codex/.env
codex mcp add heelo --url https://mcp.toolsprimitives.uk/mcp --bearer-token-env-var HEELO_API_KEYRun this in a terminal, not inside Codex. It saves your key in Codex's own settings folder, so Codex finds it from any terminal, and running it again with a new key replaces the old one. Then start Codex (quit and reopen it if it is already running) and run /mcp to check that Heelo is connected.
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"heelo": {
"url": "https://mcp.toolsprimitives.uk/mcp",
"headers": {
"Authorization": "Bearer YOUR_HEELO_API_KEY"
}
}
}
}Open Cursor Settings → Tools & MCP and enable Heelo. Merge this entry with any existing servers.
Devin Desktop (Windsurf)
Add to ~/.config/devin/mcp_config.json:
{
"mcpServers": {
"heelo": {
"url": "https://mcp.toolsprimitives.uk/mcp",
"headers": {
"Authorization": "Bearer YOUR_HEELO_API_KEY"
}
}
}
}In Devin Desktop, open Customize → MCPs → This computer. You can open this file there and refresh the list. Merge this entry with any existing servers.
Other apps
Open API & Integration in your dashboard. It shows the setup for other MCP apps, and for Windows, with your key filled in.
Connect your accounts
Some tools work in your own account on another platform, for example your calendar or your LinkedIn profile. Connect each platform one time. Then every task can use it.
With a sign-in, you approve the access on the platform's own page. Security tells what Heelo keeps.
| Platform | How you connect | Tools |
|---|---|---|
| Sign in with Google | google.calendar_* | |
| Microsoft | Sign in with Microsoft | outlook_calendar.*mail.read_* |
| GitHub | Sign in with GitHub | github.list_my_repos |
| Notion | Integration token from notion.so/my-integrations | notion.* |
| Apple Calendar | Apple ID and an app-specific password | apple_calendar.* |
| Fastmail | App password with Mail access | mail.read_* |
| Other IMAP mailbox | App password: iCloud, Zoho, Yandex or your own server | mail.read_* |
| Sign in on your own computer | linkedin.post | |
| Sign in on your own computer | reddit.post | |
| Sign in on your own computer | instagram.postinstagram.search | |
| Bluesky | Sign in on your own computer | bluesky.post_browserbluesky.search |
| X (Twitter) | Sign in on your own computer, or paste the auth_token and ct0 cookies in the dashboard | twitter.posttwitter.search_browser |
Where Heelo asks you to connect
- Tools & Connections. Open Tools & Connections in your dashboard, select a platform and follow the steps.
- During a task. When a tool needs an account that you did not connect, it returns a connect link instead of a result. Open the link, connect the account, then ask your AI app to try again.
- Your sender address for outreach e-mail. Add your own From address with
outbound.mail.sender_add. Add the DNS records that it returns to your domain, then runoutbound.mail.sender_verify. Heelo also sends a link to the mailbox that gets your replies. Open it to confirm that mailbox.
Try your first task
Your AI app cannot do this task alone, and it needs no other accounts.
1. Launch the page
Use Heelo to launch a landing page for my product, PR Notes: it turns merged pull requests into short release notes that users read. Make a share image with the line "Release notes your users read", publish the page with that image and an e-mail sign-up form, and give me a tracked short link to share.
2. Share the link, then ask for the numbers
How many people visited the page and signed up so far?
What happens
media.render.cardmakes the share image, in the sizes for link previews, X and Instagram.inbound.page.publishpublishes the page at a public URL, with the image and an e-mail sign-up form.inbound.link.wrapmakes a short link that counts each click, with no cookies and no raw IP addresses.inbound.statsgives the visits, the unique visitors, the sign-ups and the sign-up rate. It gives the number of sign-ups, not their e-mail addresses.
Each publish of the page uses 25 credits. The image, the link and the numbers are free.
Acquisition workflow
Find customers and e-mail them from your own domain.
Before you start
- A verified sender address on your own domain. See your sender address.
- Your postal address. US law (CAN-SPAM) puts it in every e-mail. Your AI app asks you for it.
- People in the US or Canada. Heelo refuses other countries.
Send this to your AI app
Use Heelo to find 20 US seed-stage developer-tool companies with 10 to 50 employees. Start an acquisition campaign to the CTO or the head of engineering at each company, one person per company. Send from my verified sender address. Write three short plain-text e-mails for days 0, 3 and 7 that offer a free trial of our API monitoring tool, with the tracking link in the first e-mail. Stop at the review and show me the people and the e-mails before anything is sent.
What happens
- Find companies.
icp.searchfinds the companies in the background. 6 credits for each company. - Find people and write the e-mails.
acquisition.campaign.createfinds the decision-maker at each company and prepares the sequence. 25 credits for each person found. - Review.
acquisition.campaign.statusshows the people and the e-mails. Tell your AI app whom to remove. - Approve.
acquisition.campaign.approveshows the final draft first. Give your AI app the lawful basis for the e-mails and the approver's name. Only then does it send. 5 credits for each e-mail sent. - Follow the results.
acquisition.campaign.reportshows sends, deliveries, clicks, replies and bounces. A reply stops the sequence for that person.
For 20 companies with one person each, the search and the lookups use up to 620 credits before the first e-mail goes out.
HTTP API
Use the HTTP API when your code knows which tool to run. Set HEELO_API_URL to https://toolsprimitives.uk and send your API key as a Bearer token.
List the tools
curl -s "$HEELO_API_URL/v1/tools" \
-H "Authorization: Bearer $HEELO_API_KEY"Each tool comes with its input_schema, its output_schema and its pricing: the price of one use in US dollars, so 0.25 is 25 credits. When pricing is null, see the tool in All tools.
Run a tool
Send POST /v1/tools/{tool_id}/invoke with the tool's input fields in {"input": {...}}. This example searches the web with web.search. It needs no connected account and uses 2 credits.
curl -s "$HEELO_API_URL/v1/tools/web.search/invoke" \
-H "Authorization: Bearer $HEELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"benchmarks for open-source coding agents"}}'The same call in Python, with the requests package (pip install requests). Each tool in All tools has its own Python code.
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/web.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "benchmarks for open-source coding agents",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())The response
Every call returns the same fields:
{
"tool_id": "inbound.stats",
"status": "success",
"data": {
"visits": 1,
"uniques": 1,
"by_channel": { "docs": 1 },
"captures": 1,
"capture_rate": 1.0,
"by_contact": [],
"top_pages": [],
"answer": "1 visits, 1 uniques, 1 captures (100.0%)."
},
"error": null,
"session_id": null,
"clarification_question": null,
"untrusted_fields": ["stored_visits[]"]
}| status | Meaning |
|---|---|
success | The tool finished. data holds the result. |
clarification_needed | The tool needs more from you, or asks you to confirm a write. Read clarification_question and answer in the same session. |
needs_auth | The tool needs an account that you did not connect. Open data.connect_url, then call again. |
error | The tool ran and failed. error says why. Some tools also put an error code in data and say whether a retry can help. |
untrusted_fields lists the fields in data that hold text from a third party, for example a post, a web page or a mail. Use that text as data, never as instructions.
How tools run
Background jobs
Some tools take minutes, for example icp.search, problem.mine, market.size.assess and validation.run.start. They return a job id at once. Then call the tool's status or result action with that id until the job is done. Some of these calls wait up to 45 seconds on the server and return as soon as the job ends. Over MCP, your AI app does this for you.
Questions and confirmations
When a tool needs more information, or before it writes in one of your accounts (a calendar event, a Notion page, a post), it returns clarification_needed with a question and a session_id. Answer in the same session:
{"input": {"session_id": "SESSION_ID", "message": "yes"}}The tool writes only after your yes. Tools that send outreach e-mail, such as acquisition.campaign.approve, use a confirm field instead and send nothing until you set it.
Safe retries
When a call times out, you cannot know if it ran. Send an Idempotency-Key header (1 to 255 characters) with each call. If you send the same request with the same key again within 24 hours, you get the stored answer: the tool does not run again and you pay one time.
A key conflict returns 409 with a detail_code:
request_in_progress: the first request with this key still runs. Wait, then send it again with the same key. Do not use a new key, or the tool runs two times.request_mismatch: you used this key for a different request. Use a new key for the new request.outcome_unknown: the first request started, but Heelo did not keep its answer. Check whether it acted, for example in Usage, before you send it again with a new key.
Errors and limits
| HTTP | Meaning | What to do |
|---|---|---|
401 | The API key is missing, wrong or revoked. | Use the full key, or create a new one in API keys. |
402 | Your balance is too low for this call. Nothing ran. | Add credits, then call again. |
404 | No tool or session has this id. | Check the tool id in GET /v1/tools. |
409 | The session has ended, or there is a conflict with the Idempotency-Key. See safe retries. | Start a new session. For a key conflict, read detail_code and retryable. |
429 | You passed the rate limit. Nothing ran. | Wait the number of seconds in the Retry-After header. |
500 | The tool stopped with an unexpected error. Its result is not known. | Check whether it acted before you call it again. |
503 | Heelo cannot take requests with an Idempotency-Key now. | Try again later. |
A tool that runs and fails returns HTTP 200 with status: "error". See the response.
Rate limit: each account can run 60 tools in any 60 seconds. Listing the tools, reading your balance and reading a session do not count.
Credits
- Each tool has a fixed price in credits. All tools shows it.
- Before a call runs, Heelo checks that your balance covers the most that the call can cost. Credits held for jobs that are not done do not count. If the balance is too low, the call returns 402 and nothing runs.
- Heelo charges only for a call that succeeds, and only for what it produced. An empty search or a cancelled draft costs nothing.
- A background job is charged when it is done. Reading its status or its result is free.
Read your balance
curl -s "$HEELO_API_URL/v1/billing/balance" \
-H "Authorization: Bearer $HEELO_API_KEY"balance_cents is what you can spend, in credits. See each call in Usage in your dashboard, and the plans in Pricing.
All tools
Open a tool to see what it does, its price, an example request, its input and output fields, and Python code that calls it. In the code, fill in the required fields.
Loop I: Distribution11 tools
Publish content: hosted pages, short links, share cards and visit statistics. The social posting tools are in Base tools.
inbound.page.publish
Publish landing pages, articles, or changelogs on a Heelo-hosted site. Link to them from social posts and outreach emails.
25 credits. Per page published.
Example request
Publish a landing page titled 'Early access' at slug 'early-access'
Input fields
| Field | Type | Description |
|---|---|---|
slugRequired | string | URL slug, e.g. 'why-nobody-uses-your-app' |
titleRequired | string | Page title |
site_id | string | Hosted site id. Pass the site_id returned by an earlier publish to put the page in the same site; a new site is created if omitted |
kind | string | landing | article | changelog |
body_md | string | Page body in Markdown |
og_image_asset_id | string | Asset id from media.render |
og_image_url | string | Explicit og:image URL (overrides asset id) |
capture | object | {enabled, fields, cta} |
seo | object | {description, canonical, jsonld} |
Output fields
urlpublished_atsite_idcanonical_urlog_image_urlkindcaptureanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/inbound.page.publish/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"slug": "...",
"title": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())inbound.page.audit
Audit a published page for performance and accessibility with Lighthouse.
2 credits. Per audit.
Example request
Run Lighthouse three times on my early-access landing page
Input fields
| Field | Type | Description |
|---|---|---|
page_urlRequired | string | URL of a page you published with inbound.page.publish |
runs | integer | How many Lighthouse runs (1-5) |
preset | string | desktop | mobile (mobile is Lighthouse's default form factor) |
Output fields
page_urlpresetlighthouse_versionrunsmedian_performancemedian_accessibilityboth_at_least_90answer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/inbound.page.audit/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"page_url": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())inbound.link.wrap
Create a short link and track clicks by campaign, channel, or contact without cookies.
0 credits. Free: part of a publish.
Example request
Wrap https://example.com/pricing for the email channel in campaign seq_2026q4
Input fields
| Field | Type | Description |
|---|---|---|
target_urlRequired | string | The destination URL to wrap |
campaign | string | Campaign id, e.g. 'seq_2026q4' |
channel | string | Channel, e.g. 'email' | 'bluesky' |
contact_id | string | Contact to attribute the click to |
reuse_existing | boolean | When true, return the first short link already made for the same target_url, campaign, channel and contact_id instead of creating a new one. Default false: every call makes a new code. |
Output fields
short_urlcodereusedanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/inbound.link.wrap/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"target_url": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())inbound.site.list
List available publishing destinations and their status, including hosted sites, WordPress, Ghost, and Webflow.
0 credits. Free: reads Heelo's own setup.
Example request
Which sites can I publish to?
Output fields
adapterssitesanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/inbound.site.list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())inbound.stats
View campaign visits, visitors by channel and contact, lead conversion rates, and top pages.
0 credits. Free: reads Heelo's own records.
Example request
Show inbound stats for campaign seq_2026q4
Input fields
| Field | Type | Description |
|---|---|---|
site_idRequired | string | Site to report on |
campaignRequired | string | Campaign id, e.g. 'seq_2026q4' |
since | string | ISO start of window (alias: from) |
until | string | ISO end of window (alias: to) |
include_visits | boolean | Also return the campaign's visit rows exactly as stored (every stored column, at most 50, newest first) and the stored column names — to check what visit data is kept, e.g. that no raw IP is. |
Output fields
visitsuniquesby_channelcapturescapture_rateby_contacttop_pagesstored_visitsstored_visit_columns
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/inbound.stats/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"site_id": "...",
"campaign": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())media.render.card
Create social share images in multiple sizes for quotes, data, announcements, or covers.
0 credits. Free: part of a publish.
Example request
Make an announcement card for our launch
Input fields
| Field | Type | Description |
|---|---|---|
templateRequired | string | quote | stat | announce | cover |
text | string | Primary text (headline / quote / stat) |
subtext | string | Secondary text (attribution / label / eyebrow) |
brand | object | |
sizes | array of string | Any of: og_1200x630, ig_1080x1080, ig_story_1080x1920, x_1600x900 |
Output fields
assetsanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/media.render.card/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"template": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())channel.expand
Adapt a piece of content for different social platforms.
0 credits. Free: preview text only. The posts are charged by the posting tools.
Example request
Post this update to Bluesky and LinkedIn
Input fields
| Field | Type | Description |
|---|---|---|
content | string | The content to distribute |
channels | array of string | Target channels, e.g. ['bluesky','linkedin'] |
query | string | A request in words, for a caller that has no structured input (the NL router, the ReAct loop): 'Post "We shipped" to Bluesky and LinkedIn'. The text in quotes, or after a colon, is the content; the channels named outside it are the targets. Use content and channels when you can. |
message | string | Your answer to the confirmation question of an open session: 'post' to post the drafts, 'cancel' to drop them. Send it with the session_id. |
budget_cap | number | Optional spend ceiling in CENTS. If the pre-dispatch cost estimate exceeds it, the run is refused with error_code 'quota_exceeded' before anything posts. On a hosted environment the lower of budget_cap and the hard cap (METERED_CAP_CENTS, default 0) applies; the result's cost.cap_source says which. |
estimate_only | boolean | When true, return the cost_hint (link vs no-link) and `previews` (the final text for each channel) without posting — used to show the user the cost and the texts before they commit. The result's cost.would_exceed_cap says whether a real run would be refused by the cap, and cost.pricing where the prices come from. |
media | object | Optional media for a channel, by channel name: {'instagram': ['https://.../card.png']}. Only a channel whose poster takes media (Instagram, Bluesky) may be named; any other channel, or a channel that is not in `channels`, is refused before anything posts. A channel that needs media (Instagram) stops at its 'need media' prompt without it. |
Output fields
resultsanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/channel.expand/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())loop1.run.start
Start a distribution run that prepares a card, a page, and posts for each platform. Publishing follows approval.
Charged by the tools it calls. inbound.page.publish 25, 40 per post.
Input fields
| Field | Type | Description |
|---|---|---|
messageRequired | string | The one message to adapt to each channel |
channelsRequired | array of string | bluesky, linkedin, twitter (or x), instagram, reddit. Reddit posts only when it is named. |
pageRequired | object | |
card | object | Required for instagram; its image is the page's og:image |
reddit | object | Required when reddit is a channel |
campaign | string | The stats key. Default: the run id. One open run for each campaign |
site_id | string | One of your Loop I site ids |
budget_cap_cents | number | Ignored: each post costs its price, and approve checks that the balance covers every post. Accepted so older callers still work |
acknowledge_unknown | boolean | Set to true only after a person checked the accounts. start refuses a campaign whose last run has a channel with an unknown outcome (it may have posted); with this set, it starts a new run for the campaign anyway |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/loop1.run.start/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"message": "...",
"channels": [],
"page": {},
}},
timeout=120,
)
response.raise_for_status()
print(response.json())loop1.run.approve
Approve a distribution run so its posts can be published.
Charged by the tools it calls. 40 per post.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
review_digestRequired | string | The review_digest that status showed, unchanged |
approved_byRequired | string | Your user's name |
confirm | boolean | false: show what would post and change nothing. true: post to the channels |
channels | array of string | Post to these channels only; default: all |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/loop1.run.approve/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"review_digest": "...",
"approved_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())loop1.run.status
Check the progress of a distribution run.
0 credits. Free: status read.
Input fields
| Field | Type | Description |
|---|---|---|
run_id | string | Leave out to list your runs |
include_stats | boolean | Add the visits, unique visitors and captures that the run's short links and page have got so far (inbound.stats for the run's site and campaign), in total and for each channel |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/loop1.run.status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())loop1.run.stop
Stop a distribution run.
0 credits. Free: a stop is free.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
reason | string | Why, for the record |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/loop1.run.stop/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())Loop II: Acquisition32 tools
Find companies and people, send outreach e-mails, and run campaigns that connect these steps.
icp.search
Find companies that match an ideal customer profile. The job runs in the background and returns company, funding, and contact information.
6 credits. Per company returned.
Example request
Find seed-stage fintech startups in the US and who to contact there
Input fields
| Field | Type | Description |
|---|---|---|
query | string | The ICP in plain language, e.g. 'seed-stage fintech startups in the US' |
spec | object | Structured ICP criteria; merged over anything parsed from `query` |
session_id | string | Continue an in-progress ICP definition conversation |
message | string | Answer to the previous clarification question |
target_count | integer | How many companies to return (default 10) |
Output fields
job_idstatusspectarget_countreused_existing_jobpoll_withanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/icp.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())icp.job_status
Check the progress of an ICP search and retrieve its results.
0 credits. Free: status read.
Example request
Check on my ICP search
Input fields
| Field | Type | Description |
|---|---|---|
job_idRequired | string | The job_id returned by icp.search |
limit | integer | Max companies to return (default 100) |
offset | integer | Pagination offset into the ranked list |
include_claims | boolean | Include the full per-field provenance for each company. Verbose — use only when auditing where a value came from. |
Output fields
answerduration_sjob_idstatusphasephase_labelprogresscost_centscompaniescompleteranking_finalestimateretry_after_snext_actionerror
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/icp.job_status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"job_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())icp.export_results
Export completed ICP search results as CSV, JSON, or Markdown.
0 credits. Free: reads a finished result.
Example request
Export my ICP search results to CSV
Input fields
| Field | Type | Description |
|---|---|---|
job_idRequired | string | The job_id returned by icp.search |
format | string | csv, json, or markdown |
limit | integer | Maximum companies to include |
inline | boolean | Include the full file content in the response. Left unset, a small export returns its content and a large one does not, which is almost always what is wanted. Set false to always suppress it, true to force it up to 200 rows. |
Output fields
job_idformatpathdownload_urlrow_countcolumnspreviewcontentanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/icp.export_results/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"job_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())icp.cancel_job
Stop an ICP search.
0 credits. Free for the stop. Companies already found are charged 6 each, at most the number asked for.
Example request
Cancel that company search
Input fields
| Field | Type | Description |
|---|---|---|
job_idRequired | string | The job_id returned by icp.search |
Output fields
job_idstatuswas_runningenrichedcost_centsmessage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/icp.cancel_job/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"job_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())contact.resolve
Find decision-makers at a company with email verification and sources.
25 credits. Per person found. A general inbox (for example info@) is free, and so is no result.
Input fields
| Field | Type | Description |
|---|---|---|
company_domain | string | |
company_name | string | |
person_name | string | |
role_hints | array of string | |
jurisdiction_hint | string | |
max_candidates | integer | |
require_verified | boolean |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/contact.resolve/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())demand.radar
Find people discussing a specific pain point on the public web. Return one entry per person, with direct quotes, sources, and a 30-day trend.
90 credits. Per search or job that finds at least one person. Reading a result is free.
Input fields
| Field | Type | Description |
|---|---|---|
action | "search" | "start" | "result" | |
pain | string | |
job_id | string | |
budget_usd | number | Ignored: Heelo sets what a search may spend. Accepted so older callers still work. |
platforms | array of string | Where to search: reddit, bluesky (a connected account), twitter (a connected browser session), web, github (public issues, through GitHub's search API) and hackernews (stories and comments, through the Hacker News Search API). LinkedIn is refused. |
window_days | integer | |
min_signal | integer | |
max_people | integer | |
exclude_domains | array of string |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/demand.radar/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail
Manage outreach through the legacy action parameter. Use the dedicated outbound.mail tools for new integrations.
0 credits. Free for the call. Each e-mail it sends is charged 5.
Input fields
| Field | Type | Description |
|---|---|---|
actionRequired | string | domain.check, contact.add, contact.list, consent.record, sequence.create, sequence.enroll, sequence.status, sequence.stop, sequence.resume, suppress.add, suppress.check, reputation.status, sender.add, sender.verify, sender.list, sender.remove |
params | object | The action's fields, as the input schema of its own tool, outbound.mail.<action>, gives them. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"action": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_create
Create an outreach sequence with 1 to 20 emails. Sending starts separately.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
nameRequired | string | A name for the sequence. |
from_domainRequired | string | The sending domain, for example mail.example.com. Check it first with outbound.mail.domain_check: enrollment and each send need it ready to send. |
from_emailRequired | string | The From address: a verified sender of this account (outbound.mail.sender_list). Its domain must be from_domain. |
from_name | string | The display name in the From header. |
reply_to | string | Leave it out: replies go to Heelo's reply address, which stops the sequence for that contact and forwards the reply to the sender's forward_to. Any other address is refused. |
stream | "cold" | "transactional" | The sending stream. The daily limits count each domain and stream apart. |
stepsRequired | array of object | The messages to send, 1 to 20 steps. |
physical_address | string | Required by law (CAN-SPAM): the sender's postal address, added to the footer of every message. Ask the user for it and never make one up. A call without it is refused (policy, missing_statutory_element). |
ad_disclosure | boolean | Required by law (CAN-SPAM): must be true. It confirms that each message is an advertisement; the footer says so. Ask the user and never set it on your own. A call without it, or with false, is refused (policy, missing_statutory_element). |
daily_cap | integer | The most messages in one UTC day from this domain and stream, counting all your sequences; the warm-up limit can be lower. A step over the limit waits until the next day. |
warmup_start | integer | Warm-up: the daily limit on the first day this domain and stream send. |
warmup_growth | number | Warm-up: how much the daily limit grows each day (0.2 = 20%), up to daily_cap. |
stop_other_sequences_on_reply | boolean | A reply always stops this sequence for that contact. Set true to also stop every other sequence at that contact. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_create/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"name": "...",
"from_domain": "...",
"from_email": "...",
"steps": [],
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_enroll
Enroll a contact in a sequence so the sending worker can deliver emails on schedule.
5 credits per e-mail. Free for the call. Each e-mail sent is charged 5 when the mail provider accepts it. A later bounce is not refunded.
Input fields
| Field | Type | Description |
|---|---|---|
sequence_idRequired | string | The sequence's id, from outbound.mail.sequence_create. |
contact_idsRequired | array of string | Contact ids, from outbound.mail.contact_add or contact.resolve. A contact is enrolled only when no verifier called its address undeliverable, it has consent (outbound.mail.consent_record) and the pre-send checks pass; the answer gives each skipped contact with its reason (and, when the check names one, its detail_code and message, such as sender_domain_not_ready). |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_enroll/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"sequence_id": "...",
"contact_ids": [],
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_status
View a sequence and delivery status for each contact.
0 credits. Free: status read.
Input fields
| Field | Type | Description |
|---|---|---|
sequence_idRequired | string | The sequence's id, from outbound.mail.sequence_create or outbound.mail.sequence_list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"sequence_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_list
List the 100 most recent sequences.
0 credits. Free: list.
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_stop
Stop future emails in a sequence for a specific contact.
0 credits. Free: a stop is free.
Input fields
| Field | Type | Description |
|---|---|---|
enrollment_idRequired | string | The enrollment's id: enrollments[].id in outbound.mail.sequence_status. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_stop/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"enrollment_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sequence_resume
Resume paused sending after the issue is resolved.
0 credits. Free: control action.
Input fields
| Field | Type | Description |
|---|---|---|
enrollment_idRequired | string | The enrollment's id: enrollments[].id in outbound.mail.sequence_status. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sequence_resume/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"enrollment_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.contact_add
Add a contact who has agreed to be contacted and check their email address.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
emailRequired | string | The person's email address. It is verified when added: an address that a verifier calls undeliverable cannot be enrolled. |
authorisation_sourceRequired | string | How the person agreed to be contacted, for example 'signup form on example.com'. |
authorisation_evidenceRequired | string | Where that agreement is recorded, for example the form submission's URL or id. |
full_name | string | The person's full name. It replaces {{full_name}} in a sequence's templates. |
role | string | The person's job title. |
company_domain | string | The domain of the person's company, for example example.com. It replaces {{company_domain}} in a sequence's templates. |
jurisdiction | string | The person's country, as a two-letter code. Mail goes only to US, CA and GB (or UK) contacts; a new contact without one is UNKNOWN and is not mailed. |
subscriber_type | "individual" | "corporate" | "unknown" | individual or corporate. A GB contact is mailed only when corporate, or individual with express consent. A new contact without one is unknown. |
email_pattern | string | The company's address pattern, for example first.last. Give it only when it is the real one. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.contact_add/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"email": "...",
"authorisation_source": "...",
"authorisation_evidence": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.contact_list
List the 100 most recently added contacts.
0 credits. Free: list.
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.contact_list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.consent_record
Record the lawful basis for emailing a contact.
0 credits. Free: compliance step.
Input fields
| Field | Type | Description |
|---|---|---|
contact_idRequired | string | The contact's id, from outbound.mail.contact_add or contact.resolve. |
lawful_basisRequired | "express" | "implied" | "legitimate_interest" | The basis for mailing this person. A CA contact needs express or implied (implied lasts two years from obtained_at); a GB individual needs express. |
sourceRequired | string | Where the consent came from, for example 'signup form on example.com'. |
evidence_urlRequired | string | Where the evidence of the consent is kept: a URL or a reference. |
obtained_atRequired | string | When the person agreed: ISO-8601 with a timezone, for example 2026-10-14T09:30:00Z. Not in the future. |
expires_at | string | When the consent ends: ISO-8601 with a timezone, after obtained_at. Leave it out for no end. |
subscriber_type | "individual" | "corporate" | "unknown" | Also sets the contact's subscriber type. Leave it out to keep the stored one. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.consent_record/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"contact_id": "...",
"lawful_basis": "...",
"source": "...",
"evidence_url": "...",
"obtained_at": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.suppress_add
Add an email address to the suppression list.
0 credits. Free: compliance step.
Input fields
| Field | Type | Description |
|---|---|---|
emailRequired | string | The recipient's email address. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.suppress_add/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"email": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.suppress_check
Check whether an email address is on the suppression list.
0 credits. Free: compliance step.
Input fields
| Field | Type | Description |
|---|---|---|
emailRequired | string | The recipient's email address. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.suppress_check/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"email": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sender_add
Add a sender address on your own domain and get the required DNS records.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
from_emailRequired | string | The From address to send from, for example [email protected]. The user must control the DNS of its domain: the answer gives the DNS records to publish there. |
forward_toRequired | string | The user's mailbox that replies to this sender are forwarded to. Ask the user for it and never make one up: replies are forwarded only after its owner confirms it. |
from_name | string | The display name shown with the address, on one line. |
is_default | boolean | Make this the default sender of its domain, which tools that only name a domain use. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sender_add/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"from_email": "...",
"forward_to": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sender_verify
Check the DNS records and verification status for a sender address.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
sender_idRequired | string | The sender's id, from outbound.mail.sender_add or outbound.mail.sender_list. |
otp | integer | The code in the mail that Brevo sent to from_email, when brevo_sender_active is false. Ask the user for it and never make one up. |
resend_confirmation | boolean | True mails a new confirmation link to forward_to; the old link stops working. Use it only when the user did not get the mail or the link expired. At most 3 mails a day for each sender. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sender_verify/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"sender_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sender_list
List sender addresses and their status.
0 credits. Free: list.
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sender_list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.sender_remove
Disable a sender address.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
sender_idRequired | string | The sender's id, from outbound.mail.sender_add or outbound.mail.sender_list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.sender_remove/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"sender_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.domain_check
Check a sending domain's SPF, DKIM, DMARC, and related settings.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
domainRequired | string | The sending domain to check, for example mail.example.com: a DNS name without a scheme or a mailbox. |
dkim_selector | string | The DKIM selector: the check reads <selector>._domainkey.<domain>. |
from_domain | string | The domain of the From address, when it is not domain. Alignment fails when they differ. |
sending_ip | string | The IP address the mail leaves from. The spf and ptr signals need it: without it, ready_to_send is false. |
smtp_host | string | The SMTP host that sends the mail. The spf and tls signals need it: without it, ready_to_send is false. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.domain_check/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"domain": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())outbound.mail.reputation_status
View daily sending reputation, including sent emails, bounces, and complaints.
0 credits. Free: status read.
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outbound.mail.reputation_status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.create
Start a campaign from a pain point or company list. Find decision-makers and draft up to five emails for approval.
Charged by the tools it calls. demand.radar 90 (when it starts from a pain), contact.resolve 25 per person found.
Input fields
| Field | Type | Description |
|---|---|---|
nameRequired | string | A name for the campaign. It also names the mail sequence. |
pain | string | Source 1: the problem the customers have, in plain words (the ICP's pain). Heelo searches public posts for people who say they have it, and looks up contacts at their companies. Give pain or companies, not both. |
companies | array of object | Source 2: the companies to reach (1 to 200), for example from icp.search. Give pain or companies, not both. |
radar_platforms | array of string | With pain only: the platforms to search, from reddit, bluesky, twitter, web, github and hackernews (default reddit, bluesky, web, github, hackernews). |
radar_window_days | integer | With pain only: how many days back to search. |
radar_budget_usd | number | Ignored: Heelo sets what the search may spend, and the search costs its price (90 credits when it finds a person). Accepted so older callers still work. |
target_roles | array of string | The roles to reach at each company, best first, for example ['head of finance', 'CFO']. |
from_domainRequired | string | The domain the mail is sent from. It must be a sender that can send: acquisition.campaign.create says which one when it is not. |
from_name | string | The display name in the From header. |
reply_to | string | The mailbox where replies are read, so that a reply stops the sequence for that person. Leave it out to use the deployment's reply address. |
stepsRequired | array of object | The messages, 1 to 5, for example days 0, 3 and 7. Templates may use {{full_name}}, {{company_domain}} and {{tracking_url}} (a tracked link: put it in at least one step so that a click is attributed to the person). The footer (Advertisement, the postal address and an unsubscribe link) is added to every message. |
daily_cap | integer | The most messages a day from this domain. |
target_contacts | integer | Stop looking up contacts when this many are found (1 to 200). |
contacts_per_company | integer | The most contacts at one company (1 to 3). |
budget_usd | number | Ignored: the campaign costs its inner uses at their prices (25 credits per person found, 5 per e-mail the mail provider accepts), and the lookups stop at target_contacts. Accepted so older callers still work. |
jurisdiction | string | The country of the people to reach, as a two-letter code: US or CA. Other countries are refused (policy, jurisdiction_blocked) before any lookup. |
physical_address | string | Required by law (CAN-SPAM): the sender's postal address, added to every message. Ask the user for it and never make one up. A call without it is refused (policy, missing_statutory_element). |
ad_disclosure | boolean | Required by law (CAN-SPAM): must be true. It confirms that each message is an advertisement; the footer says so. Ask the user and never set it on your own. A call without it, or with false, is refused (policy, missing_statutory_element). |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.create/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"name": "...",
"from_domain": "...",
"steps": [],
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.approve
Approve a campaign and start sending its emails.
Charged by the tools it calls. 5 per e-mail sent.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
review_digestRequired | string | review.review_digest from acquisition.campaign.status: it proves which review was approved. |
lawful_basisRequired | "express" | "implied" | "legitimate_interest" | The basis for mailing these people, as the user states it. Canada (CA) needs express or implied. Ask the user; never choose it yourself. |
consent_sourceRequired | string | Where the basis comes from, in the user's words, for example 'B2B: a public role at the company, and our product addresses the pain they posted about'. |
consent_evidence_urlRequired | string | Where the user keeps the record of that basis: a URL or a document reference. |
approved_byRequired | string | The name of the person who approves the send. |
exclude_contact_ids | array of string | Contacts from the review that must not be mailed. |
confirm | boolean | Leave it out first: the answer is the draft of what will be sent. Set it to true only after the user has seen the review and said yes; nothing is sent before. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.approve/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
"review_digest": "...",
"lawful_basis": "...",
"consent_source": "...",
"consent_evidence_url": "...",
"approved_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.status
Check campaign progress and see the next step.
0 credits. Free: status read.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.report
View campaign results, including companies, contacts, sends, deliveries, clicks, replies, and bounces.
0 credits. Free: reads Heelo's own records.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.report/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.list
List the 50 most recent campaigns.
0 credits. Free: list.
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.pause
Pause prospecting and email sending for a campaign.
0 credits. Free: control action.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.pause/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.resume
Resume a paused campaign.
0 credits. Free: control action. The work after it is charged as usual.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.resume/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())acquisition.campaign.cancel
Permanently cancel a campaign.
0 credits. Free: a stop is free.
Input fields
| Field | Type | Description |
|---|---|---|
campaign_idRequired | string | The campaign's id, from acquisition.campaign.create or acquisition.campaign.list. |
confirm | boolean | Must be true: cancelling stops every further lookup and send for good. Ask the user first. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/acquisition.campaign.cancel/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"campaign_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())Loop III: Assistant32 tools
Read e-mail, get data from documents, make documents, and write to calendars and Notion.
mail.read_list
List messages in a Microsoft 365, Outlook.com, or IMAP mailbox folder.
2 credits. Per call.
Example request
What's in my inbox?
Input fields
| Field | Type | Description |
|---|---|---|
account_handle | string | Which configured mailbox to read. Optional when only one is configured. |
folder | string | Mailbox folder to list. |
since | string | Lower bound on received time, UTC ISO-8601 (e.g. 2026-09-01T00:00:00Z). |
query | string | Optional text to match against subject, sender and body. |
limit | integer | Page size (max 200). |
cursor | string | Opaque cursor returned by a previous call, to fetch the next page. |
end_user_id | string | Optional end-user scope for multi-tenant callers. |
Output fields
accountproviderfoldercountmessagesnext_cursormoreavailable_accountsquerysinceuntrusted
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/mail.read_list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())mail.read_get
Read an email body and list its attachments.
2 credits. Per call.
Example request
Read that email from Acme
Input fields
| Field | Type | Description |
|---|---|---|
message_idRequired | string | Message id, as returned by mail.read_list. |
account_handle | string | Which configured mailbox to read. |
folder | string | Folder that holds the message. |
end_user_id | string | Optional end-user scope. |
Output fields
idaccountproviderfoldersubjectfromtoccsnippetreceived_atunreadhas_attachmentsthread_idbody_textbody_htmlattachmentsattachments_over_limituid_validityuntrusted
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/mail.read_get/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"message_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())mail.read_attachment
Download an attachment from an email.
2 credits. Per call.
Example request
Get the PDF attached to that invoice email
Input fields
| Field | Type | Description |
|---|---|---|
message_idRequired | string | Message id, as returned by mail.read_list. |
attachment_idRequired | string | Attachment id, as returned by mail.read_get. |
account_handle | string | Which configured mailbox to read. |
folder | string | Folder that holds the message. |
end_user_id | string | Optional end-user scope. |
Output fields
message_idattachment_idfilenamecontent_typesize_bytesbytes_readstreamedcontent_encodingcontent_base64noteaccount
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/mail.read_attachment/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"message_id": "...",
"attachment_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())mail.read_watch
Fetch messages that arrived since the last check.
2 credits. Per call.
Example request
Tell me when a new email arrives
Input fields
| Field | Type | Description |
|---|---|---|
account_handle | string | Which configured mailbox to watch. |
folder | string | Folder to watch for new mail. |
cursor | string | Opaque cursor from the previous call. Optional: without it the watch resumes from the position saved by the last call for this mailbox, and only when there is none does it establish a baseline (returning no messages that first time). |
timeout_s | integer | Seconds to wait for new mail before returning empty (max 300). |
reset | boolean | Discard the saved position and start a new baseline from now. |
end_user_id | string | Optional end-user scope. |
Output fields
accountproviderfoldercountmessagesnext_cursorrebuiltbaseline_establishedresumed_fromwaited_suntrusted
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/mail.read_watch/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.extract_text
Extract text and tables from PDFs, scans, Office files, or emails.
25 credits. Per document. 0 when nothing is read.
Example request
Extract the text from this PDF
Input fields
| Field | Type | Description |
|---|---|---|
sourceRequired | object | The document: {data} as base64, or {asset_id} returned by doc.render_* for the same caller and end_user_id. |
end_user_id | string | Which of your end users an asset_id belongs to; must match the one it was rendered for. |
mode | "auto" | "fast" | "accurate" | auto routes by document class; fast stops at the cheapest tier; accurate may climb. |
page_numbers | array of integer | Only return these 1-based pages. Extraction still runs over the document. |
max_pages | integer | Cap on pages returned (max 500). |
Output fields
pagesdoc_kindengine_usedpage_countclassificationcost_hintuntrusted
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.extract_text/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"source": {},
}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.extract_fields
Extract fields such as invoice numbers, dates, amounts, and line items. Return their locations and confidence scores, and check the arithmetic.
25 credits. Per document. 0 when no field is found.
Example request
Extract the invoice number, total and due date from this PDF
Input fields
| Field | Type | Description |
|---|---|---|
sourceRequired | object | The document: {data} as base64, or {asset_id} returned by doc.render_*. |
end_user_id | string | Which of your end users an asset_id belongs to; must match the one it was rendered for. |
schemaRequired | object | Fields to extract, as name -> type. Types: string, money, date, number, integer, boolean. A repeated group is a one-element list of an object, e.g. {"line_items": [{"desc": "string", "qty": "number", "amount": "money"}]}. |
validations | array of string | Extra checks as expression strings, e.g. "subtotal + tax == total". Added to the built-in defaults; field names refer to the schema. |
mode | string | auto | fast | accurate, as for doc.extract_text. |
confidence_threshold | any | Ignored: confidence is a reference only and decides nothing. Accepted so older callers do not fail. |
accept_uncalibrated | any | Ignored: confidence is a reference only and decides nothing. Accepted so older callers do not fail. |
allow_llm | boolean | Allow the paid fallback for fields the zero-cost pass could not fill. |
open_review | any | Ignored: every extraction opens a review record. Accepted so older callers do not fail. |
Output fields
fieldsvalidationsneeds_reviewreview_fieldsreview_reasonsdoc_kindengine_usedlayout_sourcecost_hintcalibrationunfilled_fieldslow_confidence_fieldsuntrustedextraction_idreview
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.extract_fields/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"source": {},
"schema": {},
}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.render_pdf
Turn HTML into a PDF, such as an invoice, report, or receipt.
25 credits. Per document.
Example request
Generate a PDF receipt for this invoice
Input fields
| Field | Type | Description |
|---|---|---|
htmlRequired | string | The HTML document to render. |
engine | "auto" | "weasyprint" | "chromium" | auto uses WeasyPrint unless the HTML needs JavaScript. weasyprint: own templates, no JS. chromium: scripted charts, third-party HTML, WYSIWYG. |
page | object | Page geometry, e.g. {"size":"A4","margin":"20mm"}. Also orientation, and header / footer as a string or {left,center,right}; {page} and {pages} become page numbers. |
media | "print" | "screen" | CSS media to render with. screen gives the on-screen look. |
allow_remote_resources | boolean | Let the document load http(s) images/styles from public hosts. |
wait_ms | integer | Chromium only: extra settle time after load, max 15000. |
return_data | boolean | Also return the PDF as base64 in `data`. |
end_user_id | string | Which of your end users the render is stored for; doc.extract_* must pass the same one to read it. |
Output fields
asset_idbytespagescontent_typefilenameengine_usedengine_reasonrender_msstoreddatawarningslimitations
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.render_pdf/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"html": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.render_docx
Generate an editable Word document.
25 credits. Per document.
Example request
Create a Word document with this summary and table
Input fields
| Field | Type | Description |
|---|---|---|
blocksRequired | array of object | Document content in order. Types: heading, paragraph, list, table, image (base64 data only), page_break, toc. |
title | string | Document title property. |
return_data | boolean | Also return the file as base64 in `data`. |
end_user_id | string | Which of your end users the render is stored for; doc.extract_* must pass the same one to read it. |
Output fields
asset_idbytespagescontent_typefilenameengine_usedengine_reasonrender_msstoreddatawarningslimitations
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.render_docx/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"blocks": [],
}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.render_xlsx
Generate an Excel spreadsheet.
25 credits. Per document.
Example request
Export these line items to an Excel file
Input fields
| Field | Type | Description |
|---|---|---|
sheetsRequired | array of object | Worksheets in order: {"name":"...","rows":[[...]]}, optionally header, freeze_header and column_widths. |
allow_formulas | boolean | Write strings starting with "=" as real formulas. Off by default. |
return_data | boolean | Also return the file as base64 in `data`. |
end_user_id | string | Which of your end users the render is stored for; doc.extract_* must pass the same one to read it. |
Output fields
asset_idbytespagescontent_typefilenameengine_usedengine_reasonrender_msstoreddatawarningslimitations
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.render_xlsx/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"sheets": [],
}},
timeout=120,
)
response.raise_for_status()
print(response.json())doc.review_decide
Approve extracted data with optional corrections, or reject it.
0 credits. Free: a person's approval.
Input fields
| Field | Type | Description |
|---|---|---|
review_idRequired | string | The review.id that doc.extract_fields returned. |
decisionRequired | string | approve | reject |
decided_byRequired | string | The name or id of the person who decided. |
corrections | object | Field name -> the right value, for an approval. Typed and checked like extracted values. |
note | string | Why, in a sentence. |
end_user_id | string | The end user the extraction was made for, if any. |
Output fields
review_idstatusdecided_bydecided_atuse_byvalueschecksanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/doc.review_decide/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"review_id": "...",
"decision": "...",
"decided_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.start
Read a PDF invoice attached to an email, extract and check its fields, and wait for review.
Charged by the tools it calls. mail.read_get 2, mail.read_attachment 2, doc.extract_fields 25.
Input fields
| Field | Type | Description |
|---|---|---|
account_handle | string | The mail account to read (mail.read's account_handle); the default when omitted. |
message_id | string | The invoice email's id from mail.read_list. Give this or subject. |
subject | string | Text in the invoice email's subject; the newest match is used. Give this or message_id. |
attachment_id | string | The invoice attachment's id, from mail.read_get's attachments (not its file name); needed only when the email has two PDFs. |
folder | string | The mailbox folder. |
calendar | "outlook" | "google" | "none" | Which connected calendar gets the payment event; none writes no event. |
timezone | string | IANA timezone of the event, e.g. America/Chicago. Leave it out to use the calendar's own. A Google Calendar places the event in its own timezone, so another one is refused. |
notion_parent | string | The Notion page id or URL to create the record under; none writes no page. |
end_user_id | string | Which of your end users the mailbox belongs to. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.start/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.approve
After approval, add a calendar payment reminder, create a Notion record, and generate a PDF receipt.
Charged by the tools it calls. Calendar event 5, notion.create_page 5, doc.render_pdf 25.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | The run id that start returned (inv_…). |
end_user_id | string | The end user the run was started for. |
review_digestRequired | string | The review_digest that status returned with the review. |
approved_byRequired | string | The name of the person who looked at the values. |
corrections | object | Field name → corrected value: text, a number, or for line_items a list of rows. Typed and checked like extracted values (doc.review_decide); the checks run again, and the writes use the typed values. |
confirm | boolean | true writes; without it the answer says what would be written. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.approve/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"review_digest": "...",
"approved_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.reject
Reject an invoice workflow without creating any records.
0 credits. Free: a person's decision.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | The run id that start returned (inv_…). |
end_user_id | string | The end user the run was started for. |
rejected_byRequired | string | The name of the person who decided. |
note | string | Why, for the record. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.reject/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"rejected_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.status
Check invoice workflow progress and see the next step.
0 credits. Free: status read.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | The run id that start returned (inv_…). |
end_user_id | string | The end user the run was started for. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.list
List the 50 most recent invoice workflows.
0 credits. Free: list.
Input fields
| Field | Type | Description |
|---|---|---|
status | "reading" | "extracting" | "review" | "writing" | "rendering" | "completed" | "rejected" | "failed" | "cancelled" | Only runs in this state; review: the runs that wait for a person. |
end_user_id | string | Only this end user's runs. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.list/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())assistant.invoice.cancel
Stop an unfinished invoice workflow.
0 credits. Free: a stop is free.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | The run id that start returned (inv_…). |
end_user_id | string | The end user the run was started for. |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/assistant.invoice.cancel/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())google.calendar_list_events
List Google Calendar events within a date range.
2 credits. Per call.
Example request
What meetings do I have tomorrow?
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language calendar query |
Output fields
eventstime_mintime_maxanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/google.calendar_list_events/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())google.calendar_create_event
Create a Google Calendar event.
5 credits. Per event created. 0 when cancelled.
Example request
Schedule a team standup tomorrow at 9am for 30 minutes
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language event creation request |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
session_id | string | Multi-turn session id: the answer to the question that comes before the write. |
message | string | The answer to that question: yes or no. |
Output fields
event_idtitlestartendlinksummary
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/google.calendar_create_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())google.calendar_update_event
Update a Google Calendar event.
5 credits. Per event changed. 0 when cancelled.
Example request
Move my 3pm meeting tomorrow to 4pm
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language event update request |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
event_id | string | Specific event ID if already known |
session_id | string | Multi-turn session id: the answer to the question that comes before the write. |
message | string | The answer to that question: yes or no. |
Output fields
event_idtitlestartendlinksummary
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/google.calendar_update_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())google.calendar_delete_event
Delete a Google Calendar event.
5 credits. Per event deleted. 0 when cancelled.
Example request
Cancel my 3pm meeting tomorrow
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language event cancellation or deletion request |
event_id | string | Specific event ID if already known |
send_cancellation | boolean | If you organize the event and it has guests, email them the cancellation. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer (which event / yes or no). |
Output fields
deletedcountnotifiedanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/google.calendar_delete_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())apple_calendar.list_events
List Apple Calendar events within a date range.
2 credits. Per call.
Example request
What meetings do I have tomorrow?
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language time range. |
timezone | string | IANA timezone override. |
start | string | Explicit RFC3339 start. |
end | string | Explicit RFC3339 end. |
max_results | integer | Maximum number of events to return. |
Output fields
rangecounteventsinterpretationtimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/apple_calendar.list_events/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())apple_calendar.create_event
Create an Apple Calendar event.
5 credits. Per event created. 0 when cancelled.
Example request
Schedule lunch with [email protected] tomorrow at noon
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language event request. |
title | string | Explicit event title. |
start | string | Explicit RFC3339/local start. |
end | string | Explicit RFC3339/local end. |
timezone | string | IANA timezone override. |
attendees | array of string | Attendee emails. |
location | string | Event location. |
description | string | Event notes. |
all_day | boolean | Whether this is an all-day event. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
Output fields
createdeventtimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/apple_calendar.create_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())apple_calendar.update_event
Update an Apple Calendar event.
5 credits. Per event changed. 0 when cancelled.
Example request
Move my 3pm meeting tomorrow to 4pm
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language change request. |
event_id | string | Target CalDAV href; skips lookup. |
timezone | string | IANA timezone override. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
Output fields
updatedeventbeforetimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/apple_calendar.update_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())apple_calendar.delete_event
Delete an Apple Calendar event.
5 credits. Per event deleted. 0 when cancelled.
Example request
Cancel my 3pm meeting tomorrow
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language cancel/delete request. |
event_id | string | Target CalDAV href; skips lookup. |
timezone | string | IANA timezone override. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
Output fields
deletedcancelledevent
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/apple_calendar.delete_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outlook_calendar.list_events
List Outlook Calendar events within a date range.
2 credits. Per call.
Example request
What meetings do I have tomorrow?
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language time range, e.g. 'what meetings do I have tomorrow?' |
timezone | string | IANA timezone (e.g. America/New_York). Overrides the default. |
start | string | Explicit RFC3339 start; bypasses natural-language parsing. |
end | string | Explicit RFC3339 end; bypasses natural-language parsing. |
max_results | integer | Maximum number of events to return. |
Output fields
rangecounteventsinterpretationtimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outlook_calendar.list_events/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outlook_calendar.create_event
Create an Outlook Calendar event.
5 credits. Per event created. 0 when cancelled.
Example request
Schedule lunch with [email protected] tomorrow at noon
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language event request. |
title | string | Explicit event title. |
start | string | Explicit RFC3339/local start; bypasses NL time parsing. |
end | string | Explicit RFC3339/local end. |
timezone | string | IANA timezone override. |
attendees | array of string | Attendee emails. |
location | string | Event location. |
description | string | Event body/notes. |
all_day | boolean | Whether this is an all-day event. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
Output fields
createdeventtimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outlook_calendar.create_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outlook_calendar.update_event
Update an Outlook Calendar event.
5 credits. Per event changed. 0 when cancelled.
Example request
Move my 3pm meeting tomorrow to 4pm
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language change request. |
event_id | string | Target event id (skips lookup). |
timezone | string | IANA timezone override. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
Output fields
updatedeventbeforetimezone_note
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outlook_calendar.update_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())outlook_calendar.delete_event
Delete an Outlook Calendar event.
5 credits. Per event deleted. 0 when cancelled.
Example request
Cancel my 3pm meeting tomorrow
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language cancel/delete request. |
event_id | string | Target event id (skips lookup). |
send_cancellation | boolean | If you organize the event, notify attendees on cancel. |
timezone | string | IANA timezone override. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer (selection / confirmation). |
Output fields
deletedcancelledevent
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outlook_calendar.delete_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())notion.read_page
Read the full contents of a Notion page.
2 credits. Per call.
Example request
Read my Notion page https://notion.so/Meeting-Notes-abc123
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request with a Notion page ID or URL |
Output fields
titlepage_idurllast_editedcontentuntrusted
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/notion.read_page/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())notion.create_page
Create a Notion page.
5 credits. Per page created. 0 when cancelled.
Example request
Create a Notion page titled 'Q3 Goals' in my workspace page abc123
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language request to create a Notion page |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
session_id | string | Multi-turn session id: the answer to a question this tool asked. |
message | string | The answer to that question. |
Output fields
page_idtitleurlanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/notion.create_page/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())notion.update_page
Rename a Notion page or append content.
5 credits. Per page changed. 0 when cancelled.
Example request
Rename my Notion page abc123 to 'Final Draft'
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language request to update a Notion page |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
session_id | string | Multi-turn session id: the answer to a question this tool asked. |
message | string | The answer to that question. |
Output fields
page_idtitleurlanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/notion.update_page/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())notion.delete_page
Move a Notion page to the trash. It can be restored within 30 days.
5 credits. Per page deleted. 0 when cancelled.
Example request
Delete my Notion page https://notion.so/Old-Notes-abc123
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to delete a Notion page |
Output fields
page_idtitleanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/notion.delete_page/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())Loop IV: Validation10 tools
Find the problems in a market, check if people pay to solve one, and test demand with a page and cold e-mails.
problem.mine
Find complaints in a market and rank them by the number of people who mention them. The scan runs in the background and returns evidence links.
800 credits. Per scan. 0 when the scan finds no problem.
Input fields
| Field | Type | Description |
|---|---|---|
action | "scan" | "result" | |
domain | string | The topic area to mine, e.g. 'tools for indie developers' |
query | string | Free text from ReAct or MCP: naming a job id reads that scan, else it is the domain |
sources | array of string | Some of github_issues, hacker_news, web_pages, app_pages, forums, reddit; default github_issues, hacker_news, web_pages, app_pages, forums, reddit. |
window_days | integer | |
min_mentions | integer | Minimum distinct authors per problem |
job_id | string |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/problem.mine/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())market.size.assess
Look for signs that people already pay to solve a problem, including paid alternatives and prices, hiring, outsourced work, and matching companies. Draft a landing page and cold emails in the background.
800 credits. Per finished assessment. Its company search is charged too: icp.search 6 per company. The balance must cover 1,250 to start.
Example request
Assess the market for problem p_0123456789ab
Input fields
| Field | Type | Description |
|---|---|---|
problem_id | string | problem.mine's id, p_ + 12 hex; leave it out for a problem given as text |
problem_statement | string | The problem: problem.mine's statement or the user's own words |
who | string | Who has the problem |
geography | array of string | string | Countries or regions, e.g. ['United States'] (the default) |
current_workaround | string | |
evidence | array of object | |
assessment_id | string | Poll an assessment started earlier |
message | string | An answer to the assessment's question |
plan_anyway | boolean | Only when the user asks for the plan even if the verdict gives none; never on your own to get a result. The plan then says that the verdict did not recommend it |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/market.size.assess/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())scrape.structured.extract
Extract rows from a public page and its subsequent pages using fields you specify.
2 credits per page. Per page read. 0 when no row is found.
Example request
Extract the name, price and link of every book on https://books.toscrape.com/catalogue/page-1.html
Input fields
| Field | Type | Description |
|---|---|---|
urlRequired | string | The first page of the list: an absolute http(s) address on the public internet, at most 8192 characters, with no user name or password. Private, loopback and link-local addresses are refused, and so is a page that robots.txt disallows. |
schemaRequired | object | The fields to read from each item, e.g. {"items": [{"name": "string", "price": "money", "url": "url"}]} |
max_pages | integer | The most pages to read; the next pages are found on the page itself (next links, page numbers). |
Output fields
okdataerrorcosttrace_idstop_reasonstop_errornext_urltruncatedanswerrequestsrequests_truncated
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/scrape.structured.extract/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"url": "...",
"schema": {},
}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.start
Start a validation run to find market problems, assess the top one, and draft a landing page and three cold emails.
Charged by the tools it calls. problem.mine 800, market.size.assess 800, icp.search 6 per company. About 1,900 in total. The balance must cover 2,050 to start.
Input fields
| Field | Type | Description |
|---|---|---|
domainRequired | string | The market to explore, e.g. 'tools for dentists' |
geography | array of string | string | Where the target companies are; default ['United States'] (only US is e-mailed) |
physical_address | string | Your postal address; every e-mail carries it |
landing_site_id | string | One of your Loop I site ids |
end_user_id | string | Your end user, for saved details |
scan_id | string | The job_id of a problem.mine scan of yours that is done: the run takes its problems and starts no scan of its own |
problem_id | string | With scan_id: the problem of that scan to assess (an id from its problems). Leave it out, and Heelo picks the top-ranked problem whose audience is companies |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.start/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"domain": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.status
Advance a validation run by one step and show what comes next.
Charged by the tools it calls. The step it runs is charged at the prices of the tools in that step. The call itself is free.
Input fields
| Field | Type | Description |
|---|---|---|
run_id | string | Leave out to list your runs |
answer | string | Your user's answer to the assessment's question |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.status/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.choose
Choose a different problem to assess.
Charged by the tools it calls. market.size.assess 800, icp.search 6 per company.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
problem_idRequired | string | A problem id from the run's problems |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.choose/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"problem_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.approve_plan
Record approval of the plan so Heelo can publish the page, create an email sequence, and find contacts.
Charged by the tools it calls. inbound.page.publish 25, contact.resolve 25 per person found.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
versionRequired | string | data.review.version from validation.run.status, unchanged |
approved_byRequired | string | Your user's name: the person who said yes |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.approve_plan/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"version": "...",
"approved_by": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.approve_contacts
Record approval of the contacts and the lawful basis for outreach so sending can begin.
Charged by the tools it calls. 5 per e-mail sent.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
versionRequired | string | data.review.version from validation.run.status, unchanged |
approved_byRequired | string | Your user's name: the person who said yes |
lawful_basisRequired | string | Your user's choice, one of data.review.content.lawful_bases.allowed (express, implied, legitimate_interest); never choose it for them |
sourceRequired | string | Where the lawful basis comes from, your user's words |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.approve_contacts/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
"version": "...",
"approved_by": "...",
"lawful_basis": "...",
"source": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.sender
View or save sender details, including the postal address and landing page site.
0 credits. Free: setup.
Input fields
| Field | Type | Description |
|---|---|---|
physical_address | string | |
landing_site_id | string | |
from_email | string | In tenant mode: which of your verified default senders (outbound.mail.sender_list) runs send from |
end_user_id | string |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.sender/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())validation.run.stop
Stop a validation run and cancel any company search in progress. Completed work is billed as usual.
0 credits. Free: a stop is free. Companies its search already found are charged 6 each.
Input fields
| Field | Type | Description |
|---|---|---|
run_idRequired | string | |
reason | string | Why your user stops the run |
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/validation.run.stop/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"run_id": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())Base tools27 tools
Search, read web pages, research reports, send e-mail, post on social platforms and do tasks in a browser.
web.search
Search the web and return titles, URLs, and snippets.
2 credits. Per search. 0 when there is no result.
Example request
Find recent benchmarks for open source coding agents
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language web search query |
Output fields
resultstotal_foundsearch_querytime_filtersearch_providersearch_coverage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/web.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())web.fetch
Fetch a web page and return its text and a short summary.
2 credits. Per page with text (or raw HTML when asked). 0 when the page has neither.
Example request
Fetch https://openai.com/blog/gpt-4
Input fields
| Field | Type | Description |
|---|---|---|
query | string | URL to fetch (optionally in a natural-language request) |
url | string | The URL to fetch (http or https); use this or query |
include_raw | boolean | Also return the HTTP status, the final URL after redirects, each redirect hop (url, status), the last response's headers plus every hop's Set-Cookie (cookie values hidden), the names of the cookies every hop sets (redirects included), the <head> meta tags (canonical, og:*, twitter:*, description), each form (action, method, fields), a count of script tags, on* event attributes and javascript: URLs over the whole page, and the raw HTML (capped at 12,000 characters; html_truncated says when) — to check what a page declares and sends. |
Output fields
urltitletextsummarytruncatedcontent_typefetched_atstatusfinal_urlresponse_headerscookiesredirectsmetaformsmarkuphtmlhtml_truncated
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/web.fetch/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())arxiv.search
Search arXiv and return paper titles, authors, abstracts, and PDF links.
2 credits. Per search. 0 when there is no result.
Example request
Find recent papers on diffusion models
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language research query |
Output fields
paperssummarytotal_found
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/arxiv.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())github.search
Search GitHub repositories.
2 credits. Per search. 0 when there is no result.
Example request
Find popular Python machine learning frameworks
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language GitHub repository search query |
Output fields
repositoriessummarytotal_found
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/github.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())github.list_my_repos
List repositories in the connected GitHub account, including private repositories.
2 credits. Per call.
Example request
What are the repos in my GitHub account?
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to list the connected GitHub account's repos |
Output fields
repositoriestotal_foundanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/github.list_my_repos/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())reddit.search
Search Reddit posts.
2 credits. Per search. 0 when there is no result.
Example request
Search trending posts about AI agents on Reddit
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for Reddit posts |
Output fields
poststotal_foundsearch_querysearch_providersearch_coverage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/reddit.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())reddit.search_browser
Search Reddit posts and top comments in a browser.
2 credits. Per search. 0 when there is no result.
Example request
Search trending posts about AI agents on Reddit
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for Reddit posts |
Output fields
poststotal_foundsearch_query
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/reddit.search_browser/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())instagram.search
Search Instagram posts by topic or account using the connected account.
2 credits. Per search. 0 when there is no result.
Example request
Search Instagram for posts about AI
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for Instagram posts |
Output fields
poststotal_foundsearch_query
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/instagram.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())linkedin.search
Search LinkedIn posts.
2 credits. Per search. 0 when there is no result.
Example request
Search trending posts about AI on LinkedIn
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for LinkedIn posts |
Output fields
poststotal_foundsearch_querysearch_providersearch_coverage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/linkedin.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())bluesky.search
Search posts using the connected Bluesky account.
2 credits. Per search. 0 when there is no result.
Example request
Search trending posts about AI agents on Bluesky
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for Bluesky posts |
Output fields
poststotal_foundsearch_querysource
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/bluesky.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())twitter.search_browser
Search posts using the connected X account.
2 credits. Per search. 0 when there is no result.
Example request
Search trending posts about AI agents on Twitter
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language search query for Twitter/X posts |
Output fields
tweetstotal_foundsearch_query
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/twitter.search_browser/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())stock.get_quote
Get a live price quote for a stock, ETF, or cryptocurrency.
2 credits. Per call.
Example request
What is AAPL trading at?
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language stock query |
Output fields
tickerasset_typequoteanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/stock.get_quote/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())trends.signals
Collect trending topics and keyword signals from social platforms and search.
2 credits. Per call. 0 when no signal is found.
Example request
Find today's trending keywords across Google, X, TikTok, Instagram, Threads, and Facebook
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language request, e.g. 'find today's AI trend keywords across TikTok and X'. |
topic | string | Optional explicit topic or industry scope. Overrides the LLM plan when provided. |
platforms | array of string | Platforms to scan: google, x, tiktok, facebook, instagram, threads, reddit, linkedin. |
region | string | Two-letter Google region code, e.g. us, gb, ca. |
time_window | string | Recency window: day, week, or month. |
max_keywords | integer | Maximum ranked keywords to return. |
max_results_per_platform | integer | Search results per platform. |
Output fields
reportkeywordsplatform_signalsqueriesplatforms_scannedtime_windowregion
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/trends.signals/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())daily_paper.search
Search Hugging Face Daily Papers.
2 credits. Per search. 0 when there is no result.
Example request
Find daily papers about diffusion models
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language paper search request. |
keywords | array of string | Research keywords or topics to search in Daily Papers. |
max_results | integer | Maximum number of papers to return. |
days | integer | Lookback window in days. |
source | string | Paper source: huggingface for HF Daily Papers, or arxiv for arXiv API search. |
summarize | boolean | Whether to generate an LLM digest of the returned papers. |
Output fields
sourcekeywordspapersdigestmessage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/daily_paper.search/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())daily_paper.digest
Summarize recent papers and send the digest by email or Slack.
25 credits. Per digest.
Example request
Send me daily papers about RAG to my Slack webhook
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language digest request. Example: daily papers about RAG to my Slack webhook. |
keywords | array of string | Research keywords or topics to search in Daily Papers. |
destination_type | string | Where to deliver the digest: email or slack. |
email | string | Recipient email address. |
slack_webhook_url | string | Slack incoming webhook URL. |
max_results | integer | Maximum number of papers to include. |
days | integer | Lookback window in days. |
source | string | Paper source: huggingface for HF Daily Papers, or arxiv for arXiv API search. |
session_id | string | |
message | string | Follow-up answer for missing fields. |
Output fields
delivereddestination_typedestinationsourcekeywordspapersdigestmessage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/daily_paper.digest/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())research.report
Search the web, arXiv, GitHub, and Reddit to produce a research report with sources.
25 credits. Per report.
Example request
What are the best open source coding agents in 2024?
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Broad research question to investigate |
Output fields
answerkey_findingssourcesgapsfollow_up_questionssubquestions
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/research.report/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())stock.analyze
Analyze a stock, ETF, or cryptocurrency and outline short-, medium-, and long-term scenarios. For research purposes.
25 credits. Per analysis.
Example request
Analyze NVDA and give me a 1-year outlook
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language stock request |
mode | string | One of: summary, predict, both |
terms | array of string | Any of: short, medium, long |
Output fields
tickerasset_typesummaryforecastsas_ofsourcesdisclaimeranswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/stock.analyze/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())email.send
Preview an email and send it from the connected mailbox after confirmation.
5 credits. Per e-mail sent. 0 when cancelled.
Example request
Send an email to [email protected] about the Heelo launch
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to send an email |
Output fields
recipientssubjectanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/email.send/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())twitter.post
Publish a post from the connected X account.
40 credits. Per post. 0 when cancelled.
Example request
Post a tweet: 'Excited to announce Heelo v2!'
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Request to post a tweet: 'Post to X: <text>' (the text is posted unchanged) |
verbatim | boolean | When true, `query` is the whole tweet text. Either way the tweet is posted exactly as given: no model drafts or rewrites it, it is never cut to fit, and the confirm step accepts only 'post' or 'cancel'. A text longer than X allows is refused. |
Output fields
tweet_idtweet_urltweet_textanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/twitter.post/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())linkedin.post
Publish a post from the connected LinkedIn account.
40 credits. Per post. 0 when cancelled.
Example request
Post to LinkedIn: 'Excited to announce our new product launch!'
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to post on LinkedIn |
verbatim | boolean | True: `query` is the whole post text, posted exactly as given (used by loop1.run and channel.expand) |
Output fields
contentpost_urlanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/linkedin.post/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())instagram.post
Publish an image or video from the connected Instagram account.
40 credits. Per post. 0 when cancelled.
Example request
Post https://example.com/launch.jpg to Instagram with the caption 'Launch day!'
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to post to Instagram |
verbatim | boolean | True: `query` is the whole caption, posted exactly as given; `media` holds the files (used by loop1.run and channel.expand) |
media | array of string | Optional list of photo/video URLs to post (a local path must be in the user's uploads folder) |
Output fields
captionpost_urlpost_url_statusanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/instagram.post/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())reddit.post
Publish a post from the connected Reddit account.
40 credits. Per post. 0 when cancelled.
Example request
Post to r/MachineLearning: 'Heelo now supports MCP for AI agents'
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to post on Reddit |
subreddit | string | Structured: the subreddit, without r/ (used by loop1.run) |
title | string | Structured: the title, posted exactly as given (used by loop1.run) |
body | string | Structured: the body, posted exactly as given (used by loop1.run) |
Output fields
post_urlsubreddittitleanswer
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/reddit.post/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())bluesky.post_browser
Publish a post from the connected Bluesky account.
40 credits. Per post. 0 when cancelled.
Example request
Post to Bluesky: 'Excited to share Heelo's new auto-research tools!'
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language request to post on Bluesky |
media | array of string | Optional list of photo/video URLs to attach (a local path must be in the user's uploads folder) |
verbatim | boolean | True: `query` is the whole post text, posted exactly as given (used by loop1.run and channel.expand) |
Output fields
contentanswerurlurilink_cardlink_card_imagelink_card_reason
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/bluesky.post_browser/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())web.fill_form
Fill out a web form, show a preview, and submit it after confirmation.
40 credits. Per form sent. 0 when cancelled.
Example request
Fill out the contact form at https://example.com/contact with my details
Input fields
| Field | Type | Description |
|---|---|---|
url | string | The page containing the form to fill |
data | object | Field hints, e.g. {'email': '[email protected]'} |
instructions | string | Free-text guidance for filling the form |
files | object | Field hint -> file to upload, given as an https URL (preferred; fetched securely) or a sandbox-relative path. E.g. {'resume': 'https://.../cv.pdf'} |
auto_submit | boolean | Submit without the review-and-confirm gate |
query | string | NL-router free text (a URL is extracted from it) |
end_user_id | string | |
session_id | string | |
message | string |
Output fields
submittedstatussummarymessage
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/web.fill_form/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())kiwi.book_flight
Search for and book flights on Kiwi.com.
40 credits. Per booking. 0 when cancelled.
Example request
Book a flight from NYC to London next Friday
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language flight booking request |
history | array of object | |
headless | boolean |
Output fields
phaseanswerflightscollectedstatusquestion
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/kiwi.book_flight/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())booking_com.reserve_stay
Open a Booking.com reservation page and fill in the details up to the payment step.
40 credits. Per reservation. 0 when cancelled.
Example request
Fill this Booking.com reservation checkout: https://www.booking.com/...
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language reservation request or field update. |
reservation_url | string | Booking.com reservation/checkout URL after a stay and room are selected. |
first_name | string | |
last_name | string | |
email | string | |
phone | string | |
country | string | |
cardholder_name | string | |
billing_address | string | |
billing_city | string | |
billing_zip | string | |
headless | boolean | |
session_id | string | |
message | string | Follow-up answer for the current requested field. |
Output fields
phaseanswerstatuscollectedquestion
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/booking_com.reserve_stay/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {}},
timeout=120,
)
response.raise_for_status()
print(response.json())amazon.shop
Find, compare, and recommend products on Amazon. Place an order on the connected account after confirmation.
40 credits. Per order placed. Free when it only returns a product link, or when cancelled.
Example request
Find me a wireless mouse under $30 with good reviews
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Natural-language Amazon shopping request |
history | array of object | |
checkout | boolean | If true, 'buy option N' drives an assisted checkout to a ready-to-confirm order; if false, returns the v1 product-page link. |
headless | boolean | Run the checkout browser headless (server). Pass false for the dev-headed flow where the user can clear sign-in/verification by hand. |
Output fields
phaseanswerproductscheckout_urlorder_numberquestion
Python
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/amazon.shop/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "...",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())Security
- Your API key gives full access to your account and its credits. Keep it out of code that you share. If it leaks, revoke it in API keys.
- Heelo keeps the tokens and app passwords of your connected accounts encrypted. With a browser sign-in, Heelo keeps only the session cookies, never your password. Heelo never asks for a password or cookies in the chat.
Read the privacy policy for the data that Heelo keeps.
Troubleshooting
command not found: codex- Install the Codex CLI with the Codex setup guide. Then open a new terminal and run
codex --version. HEELO_API_KEY is not set- Set the key in the terminal that starts Codex. If Codex uses a background server, start it with
codex --no-daemon. - Heelo does not connect after you paste the URL
- Use the plain server URL from Connect your AI app, not a Markdown link.
- An HTTP error, for example
402or429 - See errors and limits.
- A long tool times out in your AI app
- Ask your AI app to start the job and read the result later. See background jobs.