In short.
OpenRouter’s Go SDK tools reference is documentation for Go developers discovering model tools, but it stops at catalog discovery and lookup. ListTools describes available tools, accepted names, engine pricing metadata and native endpoint counts; GetTool retrieves one tool and its native model support. The page supplies request examples and parameter types, but no response bodies, numeric prices or SDK version. Neither example was executed, and runtime behavior was not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete page at [https://openrouter.ai/docs/client-sdks/go/sdks/tools/README.md], including its overview, both examples, parameter tables, response-type declarations and error tables. The documentation-index notice and other links identify additional material whose contents are excluded. Linked guides, type definitions, SDK repository files and licence documents were not assessed. Neither example was executed; live catalog contents, actual prices and tool execution behavior remain unassessed.
The overview
Identity
This is the Tools reference page within OpenRouter’s Go SDK documentation, available at [https://openrouter.ai/docs/client-sdks/go/sdks/tools/README.md]. It documents two SDK operations for inspecting the catalog of server tools OpenRouter can run on behalf of a model.
Assessment
The reference is useful for understanding how a Go application can discover tool names and advertised compatibility. Its examples and parameter tables explain the lookup requests, while installation instructions, concrete response fields and subsequent tool execution require additional information. Operational reliability is not assessed.
Users
The likely audience is Go developers integrating OpenRouter who need to browse available server tools or inspect a known tool’s native model support. Beginners can follow the request structure, but the examples assume familiarity with Go imports, contexts, environment variables and error handling.
Capabilities
ListTools is described as returning server tools with accepted tools[].type spellings for each API format, underlying engines and their pricing, and counts of endpoints that run each tool natively. It supports pagination and filtering by API format; responses is the filter example.
GetTool accepts a canonical openrouter:* name or an accepted alias and is described as returning one tool with the models that run it natively. The page names response types but does not show their fields or an actual response.
Using it
Requirements
Following the examples requires a Go project with the OpenRouter SDK available and a bearer credential. Both examples read that credential from the OPENROUTER_BEARER environment variable and place it in the operation’s security structure.
The minimum Go version, SDK release, account requirements and credential provisioning process are not specified.
Mechanism
The examples create a context and an SDK client with openrouter.New(), then call s.Tools.ListTools or s.Tools.GetTool with operation-specific bearer security.
ListTools takes an offset using optionalnullable.OptionalNullable[int64], a limit using *int64 and an optional *operations.APIFormat filter. Omitting both offset and limit returns the full list; a supplied limit has a maximum of 100. GetTool takes a required name string. Both operations also accept request options.
Setup
The examples import the OpenRouter Go SDK and its operations package. ListTools also imports the optionalnullable helper to construct its offset argument. Each example creates a context, initializes the client and reads the bearer credential before making the lookup.
No installation command, dependency version or complete project configuration is provided. Response handling remains a placeholder.
Example
The ListTools example requests offset 0 and limit 50 with no API-format filter. The separate GetTool example requests openrouter:web_search. Each checks the returned error, terminates through log.Fatal on failure and leaves a comment where response handling would go.
The web search example retrieves catalog information; it does not perform a search. Neither example was executed, and no returned data is shown.
Assessment & evidence
Limitations
Both operations document typed errors for HTTP 401, 403, 404 and 500, plus a generic APIError covering 4XX and 5XX responses. The page gives no retry guidance, rate limits or timeout behavior.
Concrete response schemas, available catalog entries and invocation behavior are not established. Authentication success, response accuracy and SDK compatibility have not been assessed through execution.
Reasoning
A practical use, inferred from the documented metadata, is to check a tool’s accepted name and advertised support before including it in a model request. API-format filtering can narrow discovery to the intended request format, while a single-tool lookup can expose native model support. The page provides no guarantee that a later invocation will succeed.
Alternatives
Within this reference, ListTools suits broad discovery and format-filtered browsing; GetTool suits inspecting a known name or alias. These are complementary lookup approaches. Other SDKs, providers and direct HTTP alternatives are not compared in the supplied page.
Evidence
The evidence is the complete Tools documentation page at [https://openrouter.ai/docs/client-sdks/go/sdks/tools/README.md]. It contains an overview, two Go examples, parameter tables, response-type references and error tables.
It contains no live API responses, benchmark results or execution records. Linked guides and type definitions are not included, so their contents do not support additional claims here.
Access & freshness
Costs
The page says catalog entries include engine pricing, but it supplies no numeric prices or example pricing fields. Engine rates, fees for catalog requests and costs of subsequent model or tool execution are unknown from this page. Free access cannot be assumed.
Rights
The page includes no licence or redistribution terms for the documentation, code examples or SDK. Copying, modification and redistribution permissions are unknown from this source.
Freshness
The documentation was captured on 25 November 2026. The page specifies no SDK version, publication date or update date. Compatibility with a particular SDK release and the current contents of the live tool catalog are unknown.
Actions
Confirm the SDK version and installation instructions, configure a bearer credential and choose the documented lookup that matches your needs. Inspect the response types before writing parsing logic, and verify the relevant engine prices and native support.
Obtain separate tool invocation instructions before adding execution to an application, and check the applicable licence terms before copying or redistributing materials.
