Skip to main content
OpenTools provides an API for LLM tool use. Using an OpenAI-compatible completion API, you can access thousands of tools from our registry through any supported LLM via OpenRouter. You can also use your own custom tools ("type": "function") as before. Let’s say you’re building “deep research for news about space” — your API request might look like:
shell
Let’s break down a few key parts of the request: Instead of the usual “since my knowledge cutoff is April 2023, I don’t have real-time information” caveat, you’ll get a response like: