Search and execute
The two tools Archee MCP exposes, their inputs and what a result contains.
Archee MCP has two tools. Instead of one tool per function, the agent finds functions with search and composes them in one Python program with execute. Fewer round trips, and the agent can loop, branch and combine results like any program.
search
Finds SDK functions and types by what you need. It is free.
| Input | Type | Meaning |
|---|---|---|
query |
string | A function name, a calculation or a standard, in English or Vietnamese |
limit |
integer, 1–20 | How many entries to return (default 5) |
kind |
optional | Restrict to one kind of entry |
It returns the matching Python stubs: signatures, parameter units and docstrings, exactly what the program will call.
search(query="bearing life", limit=3)
execute
Runs a Python program in a fresh sandbox with import archee available.
| Input | Type | Meaning |
|---|---|---|
code |
string, ≤ 50 KB | The program. Its last expression, or an explicit return, is the result |
project |
optional string | Project slug or id; omit for your scratch project |
timeout_s |
integer, 1–120 | Wall-clock limit in seconds (default 30) |
import archee
key = archee.standards.lookup_key(shaft_d=40)
bearing = archee.standards.lookup_bearing(d=40, kind="deep_groove", series="light")
{"key": key, "bearing": bearing}
The result
| Field | Meaning |
|---|---|
ok |
Whether the program finished without an error |
result |
The value of the last expression, as JSON |
stdout |
What the program printed |
error |
The error type and message when ok is false |
files_changed |
Files the program wrote in the project |
evidence_ids |
Citations behind the values |
credits |
What the call cost |
duration_ms |
How long it ran |
call_id |
Quote this when you ask for help |
Long output is cut in the middle: the head and the tail are kept with a marker between them. Return less, or write large data to a file and return its link.
The sandbox
Each program runs in its own sandbox with no network and no access to your computer or to other users. It reads and writes only the selected project’s files. When the time limit passes the program is stopped; for longer work use archee.agent.run and poll archee.runs.get in a later call.