Server Tools are capabilities that ARouter executes on behalf of models during inference. Unlike user-defined function calling (where your code runs the function), Server Tools are handled entirely by ARouter — the model decides when to invoke them, ARouter executes them, and the results are injected back into the conversation automatically.Documentation Index
Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
Use this file to discover all available pages before exploring further.
Server Tools are currently in beta. The interface is stable but additional tools are being added.
Available Server Tools
| Tool ID | Description | Pricing |
|---|---|---|
web_search | Search the web and return structured results with citations | Per search query |
datetime | Return the current date and time in any timezone | Free |
Server Tools vs Plugins vs User-Defined Tools
| Server Tools | Plugins | User-Defined Tools | |
|---|---|---|---|
| Who executes? | ARouter | ARouter | Your application |
| Model controls invocation? | Yes | No (applied every request) | Yes |
| Structured citations? | Yes | Yes (web only) | N/A |
| Available in streaming? | Yes | Yes | Yes |
| Configuration | Per-request in tools array | Per-request in plugins array | Per-request in tools array |
How Server Tools Work
The entire tool execution cycle happens server-side. Your application receives the final response with results already incorporated.Quick Start
Add Server Tools to any chat completion request via thetools array using the arouter: namespace:
- TypeScript
- Python
- cURL
Combining Multiple Server Tools
You can enable multiple Server Tools in a single request. The model will choose which to invoke based on the user’s query:Combining with User-Defined Tools
Server Tools can coexist with your own function definitions:arouter type tools; your application handles the function type tools.
Usage Tracking
Server Tool usage is tracked in theusage field:
Next Steps
- Web Search Tool — Full configuration reference for search engines, domain filtering, and pricing
- Datetime Tool — Inject current time into model context
- Migrating from Web Plugin — How to migrate from the deprecated
webplugin