research. report
Search the web, arXiv, GitHub, and Reddit to produce a research report with sources.
25 credits. Per report.
Example prompt
Send this to your AI app when Heelo is connected:
What are the best open source coding agents in 2024?
Input fields
| Field | Type | Description |
|---|---|---|
queryRequired | string | Broad research question to investigate |
Output fields
The fields in data when status is success.
| Field | Type |
|---|---|
answer | string |
key_findings | array of string |
sources | array of object |
gaps | array of string |
follow_up_questions | array of string |
subquestions | array of string |
Code
The call with the input fields that the tool needs. Set HEELO_API_KEY to your API key.
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": "What are the best open source coding agents in 2024?",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())// Node.js 18 or newer, in an ES module.
const response = await fetch("https://toolsprimitives.uk/v1/tools/research.report/invoke", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HEELO_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
input: {
"query": "What are the best open source coding agents in 2024?"
},
}),
signal: AbortSignal.timeout(120_000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());