Agent Tools
Guides for building, configuring, running and troubleshooting the agent's tools.
10 articles
- Built-in abilitiesWhat the agent does with no code of yours, what it reads, and the tool names it keeps for itself.
- Tool examplesTen tools to copy, each with its risk level and the refusals it returns.
- Config referenceEverything in @mediansh/agent-tools for serving tools, from defineConfig to the route handlers.
- Pages and highlightsLet a tool offer the customer a page of your app, or point at something on the page.
- How tool calls runSyncs, calls, approvals, reviews and teammate runs, as your endpoint sees them.
- Custom toolsGive the agent a function on your server, connect it, and check that it works.
- Tool errorsEvery error from connecting, syncing and calling a tool endpoint, with its cause and fix.
Tool Endpoint
- Tool endpointVersion 1.0.0. The signed requests Median sends to your server. This is the one API in these docs you implement rather than call. median() from…
- GET /Answer the manifest Median sends this right after a route is connected, on every sync from the dashboard, the CLI or the API, and before the agent's first…
- POST /Run one tool, or answer diagnostics A tool call from one conversation, or a diagnostics request when a report is filed. Tool calls. Answer 200 with { result }…