Ops tools
The neurouter_* tools every server includes — task framing, decision log, unmet needs, issues, error explanations, examples and whoami — with their visibility and hints.
Every Neurouter server includes a small set of neurouter_* tools. Agents use them to frame their work and to report what is missing or broken; you read the results in the console's tasks view and ops inbox. Each tool except neurouter_read_result can be turned off per server (opsTools in configuration).
Ops tools never fail the agent's task: if recording fails, they return {"recorded": false} and the agent carries on. Free-text fields are capped at 500 characters and redacted before storage. They have their own rate limit (60 calls per minute per credential).
The tools
| Tool | Input | What you get | Visibility |
|---|---|---|---|
neurouter_begin_task | goal | Starts a task; later calls attach to it | pinned |
neurouter_end_task | outcome (success, partial, failure), notes | Closes the task with counts and duration | pinned |
neurouter_report_unmet_need | intent, attempted tools | A grouped entry in the ops inbox | pinned |
neurouter_log_decision | choice, reason, alternatives | The reason next to the calls in the trace | search |
neurouter_report_issue | tool, problem, evidence, error_id | An issue linked to the call | search |
neurouter_explain_error | error_id | What went wrong and how to fix the call | search, hinted on every error |
neurouter_get_examples | tool, kind (call or script) | Up to 5 known-good examples | search |
neurouter_whoami | — | Environment, scopes, write rules, code mode and limits | search, hinted on access errors |
neurouter_read_result | handle, offset, limit | The rest of a truncated result | hinted when a result is cut |
Pinned tools are always listed. Search tools are found with search_tools (the query "neurouter" lists them all) or listed directly when discovery is full. Inside code-mode scripts, ops.log_decision, ops.report_unmet_need and ops.report_issue record the same things.
Tasks
begin_taskopens a task; calls from the same credential and client attach to it untilend_taskor 10 minutes without activity.- Calls with no open task are grouped into an inferred task by the same 10-minute idle gap.
- A code-mode script is wrapped as a task automatically.
Hints at the moment of need
| Situation | Hinted tool |
|---|---|
| Any error | neurouter_explain_error (the result carries an error_id) |
| Access denied, writes off, upstream 401/403 | neurouter_whoami |
Empty search_tools result | neurouter_report_unmet_need |
| Truncated result | neurouter_read_result |
| Response looks like injected instructions | neurouter_report_issue |
| First call of an unframed task | neurouter_begin_task |
Hints travel in the result's _meta["dev.neurouter/next-tools"] and as a short line of text.
Unmet needs in the inbox
Reports with the same normalized wording join one group; when embeddings are ready, near-duplicates (cosine similarity ≥ 0.88) join too. Each group shows the count, the distinct keys that reported it, sample intents and the tools agents tried. Grouping runs locally.