Docs Give your agent tools

Built-in tools

The tools every agent has without any setup: web requests, files, charts, code, developer helpers and more.

Built-in tools are the portal's own tools. Every agent has them without any setup: calling an outside API, attaching a file, drawing a chart, running code, data and text helpers, and network checks. They are on for every agent and run freely, until an admin turns one off or makes it ask first. This page lists every one, plus the other tools an agent gets from its repositories, memory and helpers.

In the portal Agents › your agent › Connections, the Built-in tools line in the Tools section Admin turns tools on or off and sets levels. Everyone sees them.

Where built-in tools are offered

The built-in tools in the table below are offered in a plain chat with the agent (in the portal, Slack, Discord or Teams) and in a goal. A plain chat is one that is not about a review or a PRD. They are not offered in a review, in a chat about a review, or in a PRD's own chat. A Chat API end user gets only a few of them (see Who can use what).

Tools load in groups

In a plain chat and a goal the agent does not see every tool's full description at the start. It sees a few core tools (load_tools, the know-how readers, its plan) and one line per group of the others: repo, memory, activity, files, http, prds, dev, cloud, agents, change, and one per tool server. It loads a group with load_tools, or by calling one of its tools by name, and the group's rules come with it. Before it starts, the portal loads the groups the question names (for example "chart" loads files), the repo group when the question points at code, and every group loaded earlier in the same chat: a loaded group stays for the rest of the conversation. A Chat API end user and the Compliance agent see their few tools in full, as before.

The built-in tools

ToolWhat it doesDefaultCan ask first?Files
http_request
Call an API
Calls the hosts you allow, with GET, POST, PUT, PATCH or DELETE. See Call an API.On. GET runs freely; changes ask first.YesNone
make_file
Attach a file
Attaches a CSV, Markdown, JSON or HTML file to the answer.On, runs freelyNoKept 90 days
make_chart
Draw a chart
Draws a bar, line or scatter chart from numbers it has, under its answer. Slack and Discord get it as a PNG image.On, runs freelyNoKept 90 days
run_code
Run code
Runs a Python script in your code sandbox, with no network.On, runs freely, once a sandbox passes its checkYesFiles it writes to output/, kept 90 days
devtools
Data and text tools
JSON, diff, regex, encoding, hashes, JWTs, time, cron, sizes and durations, semver and logs. No network.On, runs freelyNoNone
netcheck
Check a host
DNS, TLS, HTTP status and headers, open ports and CIDR maths. Public hosts only, never a body.On, runs freelyYesNone
run_shell
Run a shell script
Runs bash, jq and yq in the code sandbox, with no network.On, runs freely, once the sandbox offers a shellYesFiles it writes to output/, kept 90 days
aws_find
Find an AWS API
Searches the AWS read operations the portal may call. Calls nothing.On, runs freely, only with an AWS accountNoNone
aws_call
Read from AWS
Calls one AWS read operation on the agent's accounts. Never a change.On, runs freely, only with an AWS accountNoA big answer is kept as a file when run_code is on
gcp_find
Find a GCP API
Searches the Google Cloud read methods the portal may call. Calls nothing.On, runs freely, only with a GCP accountNoNone
gcp_call
Read from GCP
Calls one Google Cloud read method on the agent's accounts. Never a change.On, runs freely, only with a GCP accountNoA big answer is kept as a file when run_code is on
cloud_map
Search the cloud map
Searches the scanned maps of the agent's cloud accounts.On, runs freely, only with a cloud accountNoNone
compliance_scan
Run a compliance scan
Starts, collects, checks and finishes a scan of everything the agent reaches, with the checklists it names, and verifies a finished scan. Starting and collecting work only in a goal.On, runs freely, only on the Compliance agentNoNone
compliance_query
Read the scan
Reads the latest scan's facts, signals, paths, findings, coverage, checklists, item results and kept reads, and other agents' know-how as data.On, runs freely, only on the Compliance agentNoA big answer is kept as a file
compliance_record
Record a reading
Records an inferred label, edge, finding or note, or the agent's judgement on a checklist's judge item, citing the facts it rests on. Never a pass, a fail or a proven fact.On, runs freely, only on the Compliance agentNoNone
compliance_report
Write the report
Renders the report as HTML from stored rows (CSV, Markdown or a checklist report when asked).On, runs freely, only on the Compliance agentNoKept 90 days; download needs view_compliance

The cloud tools appear on an agent only once it holds an AWS or GCP account. They are described on AWS and Google Cloud.

The four compliance tools appear only on the Compliance agent, never in a Chat API end user's turn. That agent gets a closed set of tools whatever its settings say: the compliance tools, the AWS and GCP read tools, ask_agents to the agents it found, make_file, make_chart, devtools and the know-how reads. It never gets http_request, run_code, run_shell, netcheck or any connection's own tools.

Turn a tool off or make it ask first

The Built-in tools line on the agent's Connections tab names the tools and their state, for example — on, — off or — on (off: …).

  1. To turn every built-in tool off at once, choose Turn off for this agent. Choose Turn on for this agent to bring them back.
  2. To set them one by one, open Choose. Each tool has On (or On, runs freely), On, asks first where it is allowed, and Off.
  3. For http_request, also pick how changes run: Changes (POST, PUT, PATCH, DELETE), when on and runs freely: ask first or run freely.
  4. Choose Save.

Only http_request, run_code, netcheck and run_shell can ask first. The others only read or make something for the answer, so they are either on and running freely, or off. An Asks first call of a built-in tool waits for a person the same way as a tool server's: in a goal, on the portal's approval card; in a plain chat, the agent asks in the chat (see Runs freely or Asks first and Approve actions). Every change to these settings is recorded in the audit log.

Call an API (http_request)

http_request calls an outside API on hosts an admin allows. With no hosts, the tool is still offered, and a call tells the agent that an admin adds hosts on the agent's Connections tab, under Built-in tools › Hosts http_request may call.

Allow hosts

  1. On the agent's Connections tab, find Hosts http_request may call under the built-in tools. It shows while http_request is on.
  2. Enter one entry per line: a host (api.example.com), a host and path (api.example.com/v2), a suffix (*.example.com) or a host and port (api.example.com:8443). No scheme, query or IP address. At most 20 entries.
  3. Choose Save hosts. A new host allows only GET.
  4. For each host, tick the methods it allows (GET, POST, PUT, PATCH, DELETE), and tick Open to end users if Chat API end users may reach it. Choose Save methods.

Add a secret header

Many APIs need a key. Open Set secret header for <host>, enter the Header name (for example Authorization) and the Value, and choose Set. The value is sealed, never shown again, and sent only to that host. The host's settings then show Secret header: set with its name. Replace and Remove change it later. The agent never sees the value; if an API echoes it back, the agent sees [secret header] instead.

Header names the portal sets itself are refused, such as Host, Content-Type, Accept, User-Agent and any name starting Entropix-. The name is at most 64 characters and the value at most 4,096, on one line.

How a call runs

SettingGETPOST, PUT, PATCH, DELETE
On, runs freely, changes ask first (the default)Runs at onceAsks first (a Chat API conversation, which cannot ask, gets GET only)
On, runs freely, changes run freelyRuns at onceRuns at once
On, asks firstAsks firstAsks first

A method still has to be ticked for the host. Calls use https only and never reach a private address. A redirect is followed only to the same host with the same method, at most 3 times. A call times out after 15 seconds. The request body is at most 64 KiB, and the agent reads up to 64 KiB of the answer, 14 KiB at a time. A status such as 404 or 500 comes back to the agent as an answer, not an error. In a chat or a goal the agent can pass select to keep only some paths of a JSON answer, as with a tool server's tools (see Big answers: select). Each call is recorded in the audit log with its method, host and path.

The other built-in tools in detail

ToolLimits and behaviour
make_fileCSV, Markdown, JSON or HTML. At most 128 KiB. An HTML file downloads, or opens sandboxed: its scripts never run and it loads nothing. A CSV has at most 50 columns and 5,000 rows.
make_chartBar, line or scatter. At most 6 series, 500 points in a series, 2,000 points in all and 50 categories.
run_codePython. Times out after 30 seconds by default; the agent may ask for up to 60 seconds, or less if your sandbox's timeout ceiling is lower. Files written to output/ as .csv, .md, .json, .txt or .png (up to 4096 × 4096) are attached. See Code sandbox.
run_shellRuns as bash -euo pipefail with jq, yq, grep, sed, awk and openssl. Offered only when the sandbox's check found a shell.
devtoolsOperations: json, diff, regex, encode, hash, jwt (decodes; the signature is not checked), time, cron, calc (bytes, Kubernetes quantities, durations), semver and logs. Inputs up to 256 KiB.
netcheckOperations: dns, tls, http, port and cidr. Public hosts only. It never reads a response body, and it masks cookie and authorisation headers. If your organisation uses a runner, http goes through the runner, and dns, tls and port do not run.

One answer, or one step of a goal, can run the sandbox at most 6 times, counting run_code and run_shell together.

Files from tools

Charts and files appear under the answer that made them. One answer carries at most 8 files and 4 MiB. Large tool answers the portal keeps by itself (a big aws_call, gcp_call or compliance_query answer) have their own allowance of 32 pages and 4 MiB, so reading a lot never stops an agent from attaching the file you asked for. Files are kept 90 days. Your organisation stores up to 256 MiB of them; when that is full, a tool says so until older files expire.

Other tools an agent gets

These tools are not on the Built-in tools line. The agent gets them from something else it has.

ToolWhat it doesWhen the agent has it
load_toolsLoads a group of tools by its name (see Tools load in groups), or tool servers' tools by name when the agent has more than 8. See Many tools: load_tools.Every plain chat and goal; in a chat about a review, more than 8 connection tools
read_repo_file, search_repoRead a file, or search the code, at a repository's default branch. Reviews and PRDs use them for their other repositories too.The agent has repositories
repo_historyLists the latest commits on a repository's default branch: 10 by default, 30 at most.The agent has repositories
show_commitShows one commit: its message, up to 100 changed files and up to 300 lines of its patch.The agent has repositories
who_changedNames who last changed each line of a file (git blame): 60 lines by default, 120 at most. Authors are names only, never email addresses.The agent has repositories
blame_linesShows which commits last changed a range of lines (git blame) at the commit being read: commit, date, author name and title. At most 200 lines at once.The agent has repositories, and in every review
find_symbolFinds where a function, type or variable is defined and used across the agent's repositories, in Go, TypeScript and JavaScript, Python, Java and Kotlin: at most 25 definitions and 40 uses.The agent has repositories, and in every review
read_ci_logReads why a check failed on a merge request or commit: the failed checks, and the last 400 lines of one failed check's log with secrets masked. Only checks the Git host keeps a log for (GitHub Actions or GitLab jobs).The agent has a repository that a connected Git host watches
open_memoryReads one fact from the agent's memory in full: its lifetime and sources.See Memory
search_channelSearches the messages of the Slack, Discord or Teams channels the agent keeps, or lists them by date when given no words, or counts a whole date range by message shape.The agent keeps a channel (see Connected memories and kept channels)
propose_memory_changeAsks an admin to forget, correct or add a fact, or to import a thread or channel.See Memory
ask_agentsHands tasks to other agents and waits for their answers.The agent has helpers (see Ask other agents)

An agent can also read public web pages with fetch_url. That is the Can read the web switch on the same Connections tab, which is off until an admin turns it on. When on, it works in plain chats and goals, fetches public https pages only, reaches nothing on the portal's own network and sends no cookies or credentials.

What you can and can't do

You can
  • Turn all built-in tools off for one agent, or each one separately.
  • Make http_request, run_code, netcheck or run_shell ask first.
  • Allow up to 20 hosts for http_request, each with its own methods and one sealed secret header.
  • Let changes through http_request run freely, if you trust the agent with them.
You can't
  • Make make_file, make_chart, devtools or the cloud tools ask first.
  • Reach a private address or plain http with http_request or netcheck.
  • Run code without a code sandbox.
  • Use built-in tools in a review or a PRD's chat.
  • Read a secret header back after you set it.

Troubleshooting

"Run code (run_code): Needs a code sandbox."
No sandbox is set up. Choose Set up a code sandbox.
"sandbox not ready: …"
The sandbox failed its last check, or has not passed one in 48 hours. Open Code sandbox and choose Check again.
"the code sandbox does not offer run_shell yet — an admin updates it to one with a shell image and checks it again"
Your sandbox runs Python only. See Code sandbox for the shell image.
"tick at least one method"
A host must allow at least one method. Tick GET, or remove the host.